diff options
author | Sampath Arunachalam <sampath.a@samsung.com> | 2020-02-03 21:23:42 +0530 |
---|---|---|
committer | Sampath Arunachalam <sampath.a@samsung.com> | 2020-02-03 21:23:42 +0530 |
commit | 25747bc6dced1c600b822e18322f5dd2b13c1808 (patch) | |
tree | d8402ec43e76ca9b1a72bb1fa30a4edfc21eacbc | |
parent | be29136aa10a67e9639c5e29416bae3dead6be5a (diff) | |
download | msg-service-25747bc6dced1c600b822e18322f5dd2b13c1808.tar.gz msg-service-25747bc6dced1c600b822e18322f5dd2b13c1808.tar.bz2 msg-service-25747bc6dced1c600b822e18322f5dd2b13c1808.zip |
Fix dlog build errorsubmit/tizen/20200206.053818accepted/tizen/unified/20200207.122411
[Model] Tizen5.5
[BinType] AP
[Customer] Open
[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A
[Problem] Fix dlog build error
[Cause & Measure] Fix dlog build error
[Checking Method] N/A
[Team] Message
[Developer] A Sampath
[Solution company] Samsung
[Change Type] etc
Change-Id: I95ca165d2da792c7629e5062df53f0f567e739ca
-rwxr-xr-x | plugin/sms_plugin/3gpp2/Sms3gpp2EventHandler.cpp | 4 | ||||
-rwxr-xr-x | plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp | 8 | ||||
-rwxr-xr-x | plugin/sms_plugin/SmsPluginDSHandler.cpp | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/plugin/sms_plugin/3gpp2/Sms3gpp2EventHandler.cpp b/plugin/sms_plugin/3gpp2/Sms3gpp2EventHandler.cpp index 48e3146..d61984e 100755 --- a/plugin/sms_plugin/3gpp2/Sms3gpp2EventHandler.cpp +++ b/plugin/sms_plugin/3gpp2/Sms3gpp2EventHandler.cpp @@ -587,7 +587,7 @@ void Sms3gpp2EventHandler::handleMsgIncoming(TapiHandle *handle, sms_3gpp2_trans MSG_DEBUG("msgInfo.displayTime : %s", ctime(&msgInfo.displayTime)); MSG_DEBUG("msgInfo.msgPort.valid : %d", msgInfo.msgPort.valid); MSG_DEBUG("msgInfo.encodeType : %d", msgInfo.encodeType); - MSG_DEBUG("msgInfo.dataSize : %d", msgInfo.dataSize); + MSG_DEBUG("msgInfo.dataSize : %zu", msgInfo.dataSize); if (msgInfo.bTextSms == true) { MSG_DEBUG("msgInfo.msgText : %s", msgInfo.msgText); @@ -723,7 +723,7 @@ void Sms3gpp2EventHandler::handleCbMsgIncoming(TapiHandle *handle, sms_3gpp2_tra MSG_DEBUG("msgInfo.displayTime : %s", ctime(&msgInfo.displayTime)); MSG_DEBUG("msgInfo.msgPort.valid : %d", msgInfo.msgPort.valid); MSG_DEBUG("msgInfo.encodeType : %d", msgInfo.encodeType); - MSG_DEBUG("msgInfo.dataSize : %d", msgInfo.dataSize); + MSG_DEBUG("msgInfo.dataSize : %zu", msgInfo.dataSize); MSG_DEBUG("msgInfo.msgId : %d", msgInfo.msgId); if (msgInfo.bTextSms == true) { diff --git a/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp b/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp index 9c92c99..ecec003 100755 --- a/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp +++ b/plugin/sms_plugin/3gpp2/Sms3gpp2WapPushHandler.cpp @@ -1611,7 +1611,7 @@ void Sms3gpp2WapPushHandler::handleSLMessage(char* pPushBody, int PushBodyLen, b msgInfo.dataSize = sizeof(pushMsg); - MSG_DEBUG("dataSize : %d", msgInfo.dataSize); + MSG_DEBUG("dataSize : %zu", msgInfo.dataSize); /* Add WAP Push Msg into DB */ err = SmsPluginStorage::instance()->checkMessage(&msgInfo); @@ -3225,11 +3225,11 @@ void Sms3gpp2WapPushHandler::wspHeaderDecodeAuth(unsigned long fieldValueLen, un /* skip 'basic' code */ iField++; memset(authStr, 0x00, sizeof(authStr)); - snprintf(authStr, sizeof(authStr), "%%%ds", sizeof(userId)); + snprintf(authStr, sizeof(authStr), "%%%zus", sizeof(userId)); sscanf((char*)(fieldValue + iField), authStr, userId); iField = iField + AcStrlen((char*)userId) + 1; memset(authStr, 0x00, sizeof(authStr)); - snprintf(authStr, sizeof(authStr), "%%%ds", sizeof(passWd)); + snprintf(authStr, sizeof(authStr), "%%%zus", sizeof(passWd)); sscanf((char*)(fieldValue + iField), authStr, passWd); iField = iField + AcStrlen((char*)userId) + 1; int wrn = snprintf((char*)*pDecodedString, (sizeof(char)*WSP_STANDARD_STR_LEN_MAX*2), "basic %s/%s", userId, passWd); @@ -3256,7 +3256,7 @@ void Sms3gpp2WapPushHandler::wspHeaderDecodeChallenge(unsigned long fieldValueLe /* skip 'basic' code */ iField++; memset(authStr, 0x00, sizeof(authStr)); - snprintf(authStr, sizeof(authStr), "%%%ds", sizeof(userId)); + snprintf(authStr, sizeof(authStr), "%%%zus", sizeof(userId)); sscanf((char*)(fieldValue + iField), authStr, userId); iField = iField + AcStrlen((char*)userId) + 1; diff --git a/plugin/sms_plugin/SmsPluginDSHandler.cpp b/plugin/sms_plugin/SmsPluginDSHandler.cpp index 88c1d77..f14e82b 100755 --- a/plugin/sms_plugin/SmsPluginDSHandler.cpp +++ b/plugin/sms_plugin/SmsPluginDSHandler.cpp @@ -114,7 +114,7 @@ TapiHandle *SmsPluginDSHandler::getTelHandle(int simIndex) return tapiHandles[tapiHandles.size() - 1].first; } else { - MSG_ERR("Error tapiHandles.size [%d]", tapiHandles.size()); + MSG_ERR("Error tapiHandles.size [%zu]", tapiHandles.size()); return NULL; } } |