about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-11-05 13:17:37 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-11-05 13:17:37 +0100
commite6943c8a9dad781aa5e1caf7c0cd59041e3c29f8 (patch)
treeb4c9cb07e18777cb577f87fca965806412c5fb87 /src/emu
parentc6483b5cf8daf9d85838a5c6a4bc529e66b64b85 (diff)
downloadbox64-e6943c8a9dad781aa5e1caf7c0cd59041e3c29f8.tar.gz
box64-e6943c8a9dad781aa5e1caf7c0cd59041e3c29f8.zip
[TRACE] Show mmap size in hex
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64int3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/x64int3.c b/src/emu/x64int3.c
index 9f858fb0..5d0546b9 100644
--- a/src/emu/x64int3.c
+++ b/src/emu/x64int3.c
@@ -263,7 +263,7 @@ void x64Int3(x64emu_t* emu, uintptr_t* addr)
                 } else if (!strcmp(s, "ov_read")) {
                     snprintf(buff, 256, "%04d|%p: Calling %s(%p, %p, %d, %d, %d, %d, %p)", tid, *(void**)(R_RSP), s, (void*)R_RDI, (void*)R_RSI, R_EDX, R_ECX, R_R8d, R_R9d, *(void**)(R_RSP+8));
                 } else if (!strcmp(s, "mmap64") || !strcmp(s, "mmap")) {
-                    snprintf(buff, 256, "%04d|%p: Calling %s(%p, %lu, 0x%x, 0x%x, %d, %ld)", tid, *(void**)(R_RSP), s, 
+                    snprintf(buff, 256, "%04d|%p: Calling %s(%p, 0x%lx, 0x%x, 0x%x, %d, %ld)", tid, *(void**)(R_RSP), s, 
                         (void*)R_RDI, R_RSI, (int)(R_RDX), (int)R_RCX, (int)R_R8, R_R9);
                     perr = 3;
                 } else if (!strcmp(s, "sscanf")) {