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