Fixed precedence warning in test suite for pixels.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 10 May 2013 21:04:51 +0200
changeset 7162f2fb5a030227
parent 7161 1619292eec30
child 7163 55eb3d3135eb
Fixed precedence warning in test suite for pixels.
test/testautomation_pixels.c
     1.1 --- a/test/testautomation_pixels.c	Fri May 10 10:33:15 2013 -0300
     1.2 +++ b/test/testautomation_pixels.c	Fri May 10 21:04:51 2013 +0200
     1.3 @@ -452,7 +452,7 @@
     1.4          SDLTest_AssertCheck(ramp[i] == 0, "Validate value at position %d; expected: 0, got: %d", i, ramp[i]);
     1.5          break;
     1.6        case 1:
     1.7 -        SDLTest_AssertCheck(ramp[i] == (i << 8) | i, "Validate value at position %d; expected: %d, got: %d", i, (i << 8) | i, ramp[i]);
     1.8 +        SDLTest_AssertCheck(ramp[i] == ((i << 8) | i), "Validate value at position %d; expected: %d, got: %d", i, (i << 8) | i, ramp[i]);
     1.9          break;
    1.10        case 2:
    1.11        case 3: