mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-12 22:55:53 +08:00
Fixed cast error from pointer to small type on Unix #4601
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user