Fixed cast error from pointer to small type on Unix #4601

This commit is contained in:
Jerry (Xinyu Hou) 2015-05-14 14:39:03 -07:00
parent 220b6befab
commit 08aee6cba7
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ ClientProxy1_5::dragInfoReceived()
void void
ClientProxy1_5::sendClipboardThread(void* data) ClientProxy1_5::sendClipboardThread(void* data)
{ {
ClipboardID id = reinterpret_cast<ClipboardID>(data);\ size_t id = reinterpret_cast<size_t>(data);
LOG((CLOG_DEBUG "sending clipboard %d to \"%s\" size=%d", id, getName().c_str(), m_clipboardData.size())); 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); ProtocolUtil::writef(getStream(), kMsgDClipboard, id, 0, &m_clipboardData);
} }