Fixed precedence warning in test suite for pixels.

This commit is contained in:
Philipp Wiesemann 2013-05-10 21:04:51 +02:00
parent 293da630b8
commit bb1f191c0d

View file

@ -452,7 +452,7 @@ pixels_calcGammaRamp(void *arg)
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: