diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:34:56 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:34:56 +0100 |
commit | fb450fba5d8737310a1f205ea3d38467dedf6afa (patch) | |
tree | 64408b35ce3d358703ff928975eebd4be319b5ba /win/rfb_win32/MsgWindow.cxx | |
parent | 64624342d98c62563c2a78b117ce3fcea9b61e68 (diff) | |
download | tigervnc-fb450fba5d8737310a1f205ea3d38467dedf6afa.tar.gz tigervnc-fb450fba5d8737310a1f205ea3d38467dedf6afa.zip |
Fix mismatches between format string and arguments
Diffstat (limited to 'win/rfb_win32/MsgWindow.cxx')
-rw-r--r-- | win/rfb_win32/MsgWindow.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/rfb_win32/MsgWindow.cxx b/win/rfb_win32/MsgWindow.cxx index 4c50c2fd..1d585618 100644 --- a/win/rfb_win32/MsgWindow.cxx +++ b/win/rfb_win32/MsgWindow.cxx @@ -52,7 +52,7 @@ LRESULT CALLBACK MsgWindowProc(HWND wnd, UINT msg, WPARAM wParam, LPARAM lParam) SetWindowLongPtr(wnd, GWLP_USERDATA, 0); MsgWindow* _this = (MsgWindow*) GetWindowLongPtr(wnd, GWLP_USERDATA); if (!_this) { - vlog.info("null _this in %x, message %x", wnd, msg); + vlog.info("null _this in %p, message %x", wnd, msg); return SafeDefWindowProc(wnd, msg, wParam, lParam); } @@ -102,13 +102,13 @@ MsgWindow::MsgWindow(const TCHAR* name_) : name(tstrDup(name_)), handle(0) { if (!handle) { throw rdr::SystemException("unable to create WMNotifier window instance", GetLastError()); } - vlog.debug("created window \"%s\" (%x)", (const char*)CStr(name.buf), handle); + vlog.debug("created window \"%s\" (%p)", (const char*)CStr(name.buf), handle); } MsgWindow::~MsgWindow() { if (handle) DestroyWindow(handle); - vlog.debug("destroyed window \"%s\" (%x)", (const char*)CStr(name.buf), handle); + vlog.debug("destroyed window \"%s\" (%p)", (const char*)CStr(name.buf), handle); } LRESULT |