Browse Source

Fixed error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'unsigned int'

Sam Lantinga 1 year ago
parent
commit
e290e99d89
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testautomation_video.c

+ 1 - 1
test/testautomation_video.c

@@ -742,7 +742,7 @@ static int video_getWindowPixelFormat(void *arg)
     /* Get format */
     format = SDL_GetWindowPixelFormat(window);
     SDLTest_AssertPass("Call to SDL_GetWindowPixelFormat()");
-    SDLTest_AssertCheck(format != SDL_PIXELFORMAT_UNKNOWN, "Verify that returned format is valid; expected: != %d, got: %" SDL_PRIu32, SDL_PIXELFORMAT_UNKNOWN, format);
+    SDLTest_AssertCheck(format != SDL_PIXELFORMAT_UNKNOWN, "Verify that returned format is valid; expected: != SDL_PIXELFORMAT_UNKNOWN, got: SDL_PIXELFORMAT_UNKNOWN");
 
     /* Clean up */
     destroyVideoSuiteTestWindow(window);