summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/rfb_win32/WMHooks.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/win/rfb_win32/WMHooks.cxx b/win/rfb_win32/WMHooks.cxx
index d59a9ce5..2a3da0d9 100644
--- a/win/rfb_win32/WMHooks.cxx
+++ b/win/rfb_win32/WMHooks.cxx
@@ -265,7 +265,9 @@ WMHooksThread::run() {
NotifyHooksCursor((HCURSOR)msg.lParam);
#ifdef _DEBUG
} else if (msg.message == diagnosticMsg) {
- vlog.info("DIAG msg=%x(%d) wnd=%lx", msg.wParam, msg.wParam, msg.lParam);
+ vlog.info("DIAG msg=%x(%d) wnd=%lx",
+ (unsigned)msg.wParam, (int)msg.wParam,
+ (unsigned long)msg.lParam);
#endif
}
}