浏览代码

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

Sam Lantinga 8 年之前
父节点
当前提交
22b6df511b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;