From b2a06dc07175f009c16c338e19abdb32b8052821 Mon Sep 17 00:00:00 2001 From: "seunggi.hong" Date: Mon, 6 Apr 2015 19:13:28 +0900 Subject: [PATCH] Fix type error Change-Id: Iffa2d5961cd402d3d9930d48db674840e7bf347f Signed-off-by: seunggi.hong --- utils/MsgUtilFunction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.34.1