Fix build issue on x64 98/18398/1
authorJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Tue, 18 Mar 2014 10:48:35 +0000 (11:48 +0100)
committerJean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
Tue, 18 Mar 2014 10:48:35 +0000 (11:48 +0100)
Change-Id: I14508afdf6a59c7035ef6a99a6833e24eae9c2d5
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
plugin/mms_plugin/MmsPluginHttp.cpp
plugin/mms_plugin/MmsPluginStorage.cpp

index 5d5a4f9..6c79cc3 100755 (executable)
@@ -676,7 +676,7 @@ MMS_HTTP_ERROR_E MmsPluginHttpAgent::httpRequest(http_request_info_s &request_in
                fclose(respfile);
                respfile = NULL;
 
-               if (g_file_get_contents(conf_filename, &request_info.response_data, &request_info.response_data_len, NULL) == false) {
+               if (g_file_get_contents(conf_filename, &request_info.response_data, (gsize *) &request_info.response_data_len, NULL) == false) {
                        MSG_DEBUG("Fail to g_file_get_contents");
                }
        }
index a439b85..f2c32c0 100755 (executable)
@@ -933,7 +933,7 @@ msg_error_t MmsPluginStorage::plgGetMmsMessage(MSG_MESSAGE_INFO_S *pMsg, MSG_SEN
        MMS_MESSAGE_DATA_S tempMmsMsgData = {0,};
        MMS_MESSAGE_DATA_S *pMmsMsg = &tempMmsMsgData;
 
-       unsigned int nSize = 0;
+       size_t nSize = 0;
 
        bzero(pMmsMsg, sizeof(MMS_MESSAGE_DATA_S));
        pMmsMsg->regionCnt = 0;