diff --git a/Include/Zmq/ZmqMsg.mqh b/Include/Zmq/ZmqMsg.mqh index 3d5ffa3..550d03b 100644 --- a/Include/Zmq/ZmqMsg.mqh +++ b/Include/Zmq/ZmqMsg.mqh @@ -117,7 +117,7 @@ void ZmqMsg::getData(uchar &data[]) { size_t size=size(); intptr_t src=data(); - ArrayResize(data,(int)size); + if(ArraySize(data)