From 04eb05a8e0456ee00fa7443803283b78337d6515 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 26 May 2020 13:07:30 +0900 Subject: [PATCH] Prefer configured printf format for mingw gcc 10 --- vm_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vm_dump.c b/vm_dump.c index 2ef08ee6c1..5b65860cde 100644 --- a/vm_dump.c +++ b/vm_dump.c @@ -726,7 +726,7 @@ dump_thread(void *arg) if (pSymFromAddr(ph, addr, &displacement, info)) { if (GetModuleFileName((HANDLE)(uintptr_t)pSymGetModuleBase64(ph, addr), libpath, sizeof(libpath))) fprintf(stderr, "%s", libpath); - fprintf(stderr, "(%s+0x%I64x)", + fprintf(stderr, "(%s+0x%"PRI_64_PREFIX"x)", info->Name, displacement); } fprintf(stderr, " [0x%p]", (void *)(VALUE)addr);