mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-19 17:37:41 +02:00
Fixed cast error from pointer to small type on Unix #4601
This commit is contained in:
parent
220b6befab
commit
08aee6cba7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue