for (int i = 0; i < width; i += MODULES_IN_SYMBOL) {\r
for (int mask = MODULES_IN_SYMBOL - 1; mask >= 0; mask--) {\r
if (rowCounters[i + (MODULES_IN_SYMBOL - 1 - mask)] >= rowHeight >>> 1) {\r
- symbol |= 1 << mask;\r
+ symbol |= 1L << mask;\r
}\r
}\r
if (columnNumber > 0) {\r
* @param symbol\r
* @return the codeword corresponding to the symbol.\r
*/\r
- private int getCodeword(long symbol) {\r
+ private static int getCodeword(long symbol) {\r
long sym = symbol;\r
sym &= 0x3ffff;\r
int i = findCodewordIndex(sym);\r