mirror of
https://github.com/yawut/SDL.git
synced 2026-04-24 23:37:09 -05:00
Fixed precedence warning in test suite for pixels.
This commit is contained in:
parent
d36f97eb89
commit
d07e1075c7
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user