Fix type error 99/37799/1 submit/tizen_mobile/20150406.102346
authorseunggi.hong <seunggi.hong@samsung.com>
Mon, 6 Apr 2015 10:13:28 +0000 (19:13 +0900)
committerseunggi.hong <seunggi.hong@samsung.com>
Mon, 6 Apr 2015 10:13:28 +0000 (19:13 +0900)
Change-Id: Iffa2d5961cd402d3d9930d48db674840e7bf347f
Signed-off-by: seunggi.hong <seunggi.hong@samsung.com>
utils/MsgUtilFunction.cpp

index 42281f5..1b0758a 100755 (executable)
@@ -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);