From 08aee6cba7cf8f2151849cd9667af36e82317cca Mon Sep 17 00:00:00 2001 From: "Jerry (Xinyu Hou)" Date: Thu, 14 May 2015 14:39:03 -0700 Subject: [PATCH] Fixed cast error from pointer to small type on Unix #4601 --- src/lib/server/ClientProxy1_5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/server/ClientProxy1_5.cpp b/src/lib/server/ClientProxy1_5.cpp index c011c588..34c30e83 100644 --- a/src/lib/server/ClientProxy1_5.cpp +++ b/src/lib/server/ClientProxy1_5.cpp @@ -172,7 +172,7 @@ ClientProxy1_5::dragInfoReceived() void ClientProxy1_5::sendClipboardThread(void* data) { - ClipboardID id = reinterpret_cast(data);\ + size_t id = reinterpret_cast(data); LOG((CLOG_DEBUG "sending clipboard %d to \"%s\" size=%d", id, getName().c_str(), m_clipboardData.size())); ProtocolUtil::writef(getStream(), kMsgDClipboard, id, 0, &m_clipboardData); }