From: seunggi.hong Date: Mon, 6 Apr 2015 10:13:28 +0000 (+0900) Subject: Fix type error X-Git-Tag: submit/tizen_mobile/20150406.102346^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F37799%2F1;p=platform%2Fcore%2Fmessaging%2Fmsg-service.git Fix type error Change-Id: Iffa2d5961cd402d3d9930d48db674840e7bf347f Signed-off-by: seunggi.hong --- diff --git a/utils/MsgUtilFunction.cpp b/utils/MsgUtilFunction.cpp index 42281f5..1b0758a 100755 --- a/utils/MsgUtilFunction.cpp +++ b/utils/MsgUtilFunction.cpp @@ -443,7 +443,7 @@ int MsgEncodeReportStatus(MSG_REPORT_STATUS_INFO_S* pReportStatus, int count, ch memcpy(p, &count, sizeof(int)); - p = (void*)((int)p + sizeof(int)); + p = (void*)((char*)p + sizeof(int)); memcpy(p, pReportStatus, sizeof(MSG_REPORT_STATUS_INFO_S)*count);