diff --git a/test/testautomation_render.c b/test/testautomation_render.c index b9546efd73..4aca940e4d 100644 --- a/test/testautomation_render.c +++ b/test/testautomation_render.c @@ -365,7 +365,7 @@ static int render_testPrimitivesWithViewport(void *arg) pixel = 0; CHECK_FUNC(SDL_RenderReadPixels, (renderer, NULL, SDL_PIXELFORMAT_RGBA8888, &pixel, sizeof(pixel))); - SDLTest_AssertCheck(pixel == 0xFFFFFFFF, "Validate diagonal line drawing with viewport, expected 0xFFFFFFFF, got 0x%.8x", pixel); + SDLTest_AssertCheck(pixel == 0xFFFFFFFF, "Validate diagonal line drawing with viewport, expected 0xFFFFFFFF, got 0x%.8x", (unsigned int)pixel); return TEST_COMPLETED; }