From aa559d265445a1ba97784cde17f50f7e9f1388ce Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Fri, 10 May 2013 21:04:51 +0200 Subject: [PATCH] Fixed precedence warning in test suite for pixels. --- test/testautomation_pixels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_pixels.c b/test/testautomation_pixels.c index d021b38c8..ab759d072 100644 --- a/test/testautomation_pixels.c +++ b/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: