From: Pierre Ossman Date: Tue, 29 Sep 2015 13:42:58 +0000 (+0200) Subject: Use correct type for format string X-Git-Tag: v1.5.90~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=023df7effb247900c2c0748ce494f06dad00f0c3;p=tigervnc.git Use correct type for format string --- 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 } }