Commit 22b6df511b225f6e6bb0c077af4547dc2103b1b3

Sam Lantinga 2017-10-12T14:46:28

Use the lower-case hex output to match other stack trace printouts

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/test/SDL_test_memory.c b/src/test/SDL_test_memory.c
index 69cb91e..b060332 100644
--- a/src/test/SDL_test_memory.c
+++ b/src/test/SDL_test_memory.c
@@ -257,7 +257,7 @@ void SDLTest_LogAllocations()
                 if (!entry->stack[stack_index]) {
                     break;
                 }
-                SDL_snprintf(line, sizeof(line), "\t0x%"SDL_PRIX64": %s\n", entry->stack[stack_index], entry->stack_names[stack_index]);
+                SDL_snprintf(line, sizeof(line), "\t0x%"SDL_PRIx64": %s\n", entry->stack[stack_index], entry->stack_names[stack_index]);
                 ADD_LINE();
             }
             total_allocated += entry->size;