From ec03ef57a198e1353240ab9dc4abc608b5d1ecb1 Mon Sep 17 00:00:00 2001 From: Kyeonghun Lee Date: Fri, 3 Mar 2017 17:18:26 +0900 Subject: [PATCH] fix bug on 64bit env Change-Id: I3b85f052a2b6d9d26f56912f93c16daaa26c3123 Signed-off-by: Kyeonghun Lee --- proxy/MsgProxyListener.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/MsgProxyListener.cpp b/proxy/MsgProxyListener.cpp index b4775e0..d80040a 100755 --- a/proxy/MsgProxyListener.cpp +++ b/proxy/MsgProxyListener.cpp @@ -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)); -- 2.7.4