From 07414d63001efad9ca1357f550b4ce66c7cb50cb Mon Sep 17 00:00:00 2001 From: Ding Li Date: Tue, 17 Oct 2017 09:29:06 +0800 Subject: [PATCH] Fix #10: fix size parameter type on 64bit Terminal --- Include/Zmq/ZmqMsg.mqh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 |