]> source.dussan.org Git - tigervnc.git/commitdiff
Use correct type for format string
authorPierre Ossman <ossman@cendio.se>
Tue, 29 Sep 2015 13:42:58 +0000 (15:42 +0200)
committerPierre Ossman <ossman@cendio.se>
Tue, 29 Sep 2015 13:42:58 +0000 (15:42 +0200)
win/rfb_win32/WMHooks.cxx

index d59a9ce59bf33c5723500e27f53221d3d222feae..2a3da0d9d390927b9d144db5f6405502248d9a46 100644 (file)
@@ -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
     }
   }