fix bug on 64bit env
[platform/core/messaging/msg-service.git] / proxy / MsgProxyListener.cpp
index b4775e0..d80040a 100755 (executable)
@@ -833,7 +833,7 @@ void MsgProxyListener::handleEvent(const MSG_EVENT_S* pMsgEvent)
                THROW(MsgException::INVALID_PARAM, "pMsgEvent is NULL");
 
        if (pMsgEvent->eventType == MSG_EVENT_PLG_SENT_STATUS_CNF) {
-               unsigned int chInfo[3] = {0}; /*3 reqid, status, object */
+               unsigned long chInfo[3] = {0}; /*3 reqid, status, object */
 
                memcpy(&chInfo, (void*)((char*)pMsgEvent+sizeof(MSG_EVENT_TYPE_T)+sizeof(msg_error_t)), sizeof(chInfo));