Build warning message removed.
authorsunggun.jung <sunggun.jung@samsung.com>
Wed, 17 Jul 2013 08:37:32 +0000 (17:37 +0900)
committersunggun.jung <sunggun.jung@samsung.com>
Wed, 17 Jul 2013 08:37:32 +0000 (17:37 +0900)
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: I9915299eed42838fecf60f65bc0a905e84a6edab

src/DrmService.cpp

index 10af3e4..33fb856 100755 (executable)
@@ -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"));