summaryrefslogtreecommitdiffstats
path: root/winsup/utils/strace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/utils/strace.cc')
-rw-r--r--winsup/utils/strace.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/strace.cc b/winsup/utils/strace.cc
index 19d15bd6d..745da9d2c 100644
--- a/winsup/utils/strace.cc
+++ b/winsup/utils/strace.cc
@@ -651,7 +651,7 @@ proc_child (unsigned mask, FILE *ofile, pid_t pid)
status = DBG_EXCEPTION_NOT_HANDLED;
if (ev.u.Exception.dwFirstChance)
fprintf (ofile, "--- Process %lu, exception %p at %p\n", ev.dwProcessId,
- ev.u.Exception.ExceptionRecord.ExceptionCode,
+ (void *) ev.u.Exception.ExceptionRecord.ExceptionCode,
ev.u.Exception.ExceptionRecord.ExceptionAddress);
}
break;