From 13fa9892c87b68c6a696ab28615aacd6edfe72f9 Mon Sep 17 00:00:00 2001 From: Abhimanyu Swami Date: Mon, 1 Feb 2021 12:32:01 +0530 Subject: [PATCH] ASAN issue fix Change-Id: I420122d8642484001c86c50307ffdcdc1ca4fecc Signed-off-by: Abhimanyu Swami --- plugin/sms_plugin/3gpp/Sms3gppTransport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp b/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp index 008a157..3a43cfc 100755 --- a/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp +++ b/plugin/sms_plugin/3gpp/Sms3gppTransport.cpp @@ -126,7 +126,7 @@ msg_error_t Sms3gppSubmitRequest(MSG_REQUEST_INFO_S *pReqInfo) char keyName[MAX_VCONFKEY_NAME_LEN] = {0,}; snprintf(keyName, sizeof(keyName), "%s/%d", MSG_SIM_CHANGED, pReqInfo->msgInfo.sim_idx); - MSG_SIM_STATUS_T simStatus = 0; + int simStatus = 0; if (MsgSettingGetInt(keyName, (int*)&simStatus) != MSG_SUCCESS) { MSG_INFO("MsgSettingGetInt() failed!"); } -- 2.34.1