Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed precedence warning in test suite for pixels.
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwiesemann committed May 10, 2013
1 parent 26973e6 commit aa559d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/testautomation_pixels.c
Expand Up @@ -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:
Expand Down

0 comments on commit aa559d2

Please sign in to comment.