From 2451eca797c4807452b1fbc42a00fbb30ddc53f8 Mon Sep 17 00:00:00 2001 From: pancake Date: Tue, 6 Sep 2022 16:28:17 +0200 Subject: [PATCH] Fix format string issue on windows's r2k --- libr/io/p/io_r2k_windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libr/io/p/io_r2k_windows.c b/libr/io/p/io_r2k_windows.c index d3b31424a0..49ec3f6f83 100644 --- a/libr/io/p/io_r2k_windows.c +++ b/libr/io/p/io_r2k_windows.c @@ -103,7 +103,7 @@ int GetSystemModules(RIO *io) { PRTL_PROCESS_MODULE_INFORMATION pMod = pm->Modules; for (i = 0; i < pm->NumberOfModules; i++) { const char *fileName = GetFileName((const char*)pMod[i].FullPathName); - io->cb_printf ("f nt.%s 0x%x @ 0x%p\n", fileName, pMod[i].ImageSize, pMod[i].ImageBase); + io->cb_printf ("f nt.%s 0x%"PFMT64x" @ 0x"PFMT64x"\n", fileName, (ut64)pMod[i].ImageSize, (ut64)pMod[i].ImageBase); } } } else {