mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-01 09:27:39 +00:00
N3DS: Fix -Wformat
warnings in tests.
All warnings were about invalid specifiers. Since U/Sint32 is a long, using `%d` emits a -Wformat warning.
This commit is contained in:
parent
43a2b0b1e5
commit
6784d84c9d
26 changed files with 162 additions and 161 deletions
|
@ -106,7 +106,7 @@ int platform_testEndianessAndSwap(void *arg)
|
|||
|
||||
/* Test 32 swap. */
|
||||
SDLTest_AssertCheck( SDL_Swap32(value32) == swapped32,
|
||||
"SDL_Swap32(): 32 bit swapped: 0x%X => 0x%X",
|
||||
"SDL_Swap32(): 32 bit swapped: 0x%" SDL_PRIX32 " => 0x%" SDL_PRIX32,
|
||||
value32, SDL_Swap32(value32) );
|
||||
|
||||
/* Test 64 swap. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue