Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed precedence warning in test suite for pixels.

  • Loading branch information
philippwiesemann committed May 10, 2013
1 parent 26973e6 commit aa559d265445a1ba97784cde17f50f7e9f1388ce
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/testautomation_pixels.c
@@ -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:

0 comments on commit aa559d2

Please sign in to comment.