diff --git a/Include/Zmq/ZmqMsg.mqh b/Include/Zmq/ZmqMsg.mqh index 550d03b..f17e107 100644 --- a/Include/Zmq/ZmqMsg.mqh +++ b/Include/Zmq/ZmqMsg.mqh @@ -136,7 +136,7 @@ void ZmqMsg::setData(const uchar &data[]) { intptr_t dest=data(); size_t size=size(); - ArrayToPointer(data,dest,size); + ArrayToPointer(data,dest,(int)size); } //+------------------------------------------------------------------+ //| Wraps zmq_msg_gets: get metadata associated with the msg |