diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-09-29 15:42:58 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-09-29 15:42:58 +0200 |
commit | 023df7effb247900c2c0748ce494f06dad00f0c3 (patch) | |
tree | 06b96e99e398c0540c368ee9324c806910afb85c /win/rfb_win32/WMHooks.cxx | |
parent | eab85bca5e209924f1474802ab9e70b8c8771f2a (diff) | |
download | tigervnc-023df7effb247900c2c0748ce494f06dad00f0c3.tar.gz tigervnc-023df7effb247900c2c0748ce494f06dad00f0c3.zip |
Use correct type for format string
Diffstat (limited to 'win/rfb_win32/WMHooks.cxx')
-rw-r--r-- | win/rfb_win32/WMHooks.cxx | 4 |
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 } } |