fix compiler warning about precedence ..

This commit is contained in:
Ahmet Inan 2014-11-27 15:16:36 +01:00
parent 27526d52ff
commit adf7d56575

View file

@ -421,7 +421,7 @@ static void robot36_decoder()
{
static prev_timeout;
if (!prev_timeout && 2 * abs(seperator_counter) > seperator_length)
vpos = ~1 & vpos | seperator_counter > 0;
vpos = (~1 & vpos) | (seperator_counter > 0);
prev_timeout = hpos >= maximum_length;
if (vpos & 1) {
for (int i = 0; i < bitmap_width; ++i) {