From: sunggun.jung Date: Wed, 17 Jul 2013 08:37:32 +0000 (+0900) Subject: Build warning message removed. X-Git-Tag: 2.2_release~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a18a70b4c6de7c9ad943e97acf737135f82ef613;p=framework%2Fosp%2Fsecurity-service.git Build warning message removed. Signed-off-by: sunggun.jung Change-Id: I9915299eed42838fecf60f65bc0a905e84a6edab --- diff --git a/src/DrmService.cpp b/src/DrmService.cpp index 10af3e4..33fb856 100755 --- a/src/DrmService.cpp +++ b/src/DrmService.cpp @@ -56,9 +56,9 @@ const char *DRM_SAPPS_API[] = { }; DrmService::DrmService(void) - : __pLocalMessagePort(null) - , m_sapps_handle(null) + : m_sapps_handle(null) , m_isdlopened(false) + , __pLocalMessagePort(null) { } @@ -202,7 +202,7 @@ DrmService::OnMessageReceivedN(RemoteMessagePort* pRemoteMessagePort, IMap* pMes AppLog("API : %ls, INPUT_PARAM : %ls", pDataAPI->GetPointer(), pInputParam->GetPointer()); count = wcstombs(respBuf, pInputParam->GetPointer(), pInputParam->GetLength()); - if (count != pInputParam->GetLength() || strlen(respBuf) != count) + if (count != pInputParam->GetLength() || (int)strlen(respBuf) != count) { AppLogException("DrmService : [GENERATE_DRM_LICENSE_REQUEST] Failed to get the argument."); pMap->Add(new String(L"RESULT"), new String(L"LICENSE_REQUEST_INPUT_PARAM_INVALID"));