From 64972b4184877ddcc8b01d36f62c25447040ef6a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 19 Jan 2024 17:21:05 -0800 Subject: [PATCH] Fixed build --- test/testautomation_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testautomation_render.c b/test/testautomation_render.c index b9546efd7..4aca940e4 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; }