Fixed cast error from pointer to small type on Unix #4601
This commit is contained in:
parent
220b6befab
commit
08aee6cba7
|
@ -172,7 +172,7 @@ ClientProxy1_5::dragInfoReceived()
|
|||
void
|
||||
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()));
|
||||
ProtocolUtil::writef(getStream(), kMsgDClipboard, id, 0, &m_clipboardData);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue