diff options
Diffstat (limited to 'win/rfb_win32/Clipboard.cxx')
-rw-r--r-- | win/rfb_win32/Clipboard.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/rfb_win32/Clipboard.cxx b/win/rfb_win32/Clipboard.cxx index 482519e7..70f52ad4 100644 --- a/win/rfb_win32/Clipboard.cxx +++ b/win/rfb_win32/Clipboard.cxx @@ -87,7 +87,7 @@ Clipboard::Clipboard() } Clipboard::~Clipboard() { - vlog.debug("removing %x from chain (next is %x)", getHandle(), next_window); + vlog.debug("removing %p from chain (next is %p)", getHandle(), next_window); ChangeClipboardChain(getHandle(), next_window); } @@ -111,7 +111,7 @@ Clipboard::processMessage(UINT msg, WPARAM wParam, LPARAM lParam) { if (owner == getHandle()) { vlog.debug("local clipboard changed by me"); } else { - vlog.debug("local clipboard changed by %x", owner); + vlog.debug("local clipboard changed by %p", owner); // Open the clipboard if (OpenClipboard(getHandle())) { @@ -190,7 +190,7 @@ Clipboard::setClipText(const char* text) { // - Close the clipboard if (!CloseClipboard()) - vlog.debug("unable to close Win32 clipboard: %u", GetLastError()); + vlog.debug("unable to close Win32 clipboard: %lu", GetLastError()); else vlog.debug("closed clipboard"); if (clip_handle) { |