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:
committed by
Sam Lantinga
parent
43a2b0b1e5
commit
6784d84c9d
@@ -149,8 +149,9 @@ TestEndian(SDL_bool verbose)
|
||||
++error;
|
||||
}
|
||||
if (verbose) {
|
||||
SDL_Log("Value 32 = 0x%X, swapped = 0x%X\n", value32,
|
||||
SDL_Swap32(value32));
|
||||
SDL_Log("Value 32 = 0x%" SDL_PRIX32 ", swapped = 0x%" SDL_PRIX32 "\n",
|
||||
value32,
|
||||
SDL_Swap32(value32));
|
||||
}
|
||||
if (SDL_Swap32(value32) != swapped32) {
|
||||
if (verbose) {
|
||||
|
||||
Reference in New Issue
Block a user