mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 11:14:13 -05:00
Fixed precedence warning in test suite for pixels.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user