Răsfoiți Sursa

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

Sam Lantinga 8 ani în urmă
părinte
comite
22b6df511b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/test/SDL_test_memory.c

+ 1 - 1
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;