From: sooyeon Date: Tue, 14 Mar 2023 06:24:26 +0000 (+0900) Subject: Fix Svace issues (SIGN_EXTENSION) X-Git-Tag: accepted/tizen/unified/20230317.081021^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen;p=platform%2Fcore%2Fuifw%2Fvc-webview.git Fix Svace issues (SIGN_EXTENSION) Change-Id: I81932fb94120a7e828e8a070563d38d26bd86310 Signed-off-by: sooyeon --- diff --git a/src/voice_control_webview.cpp b/src/voice_control_webview.cpp index ee37842..884282e 100755 --- a/src/voice_control_webview.cpp +++ b/src/voice_control_webview.cpp @@ -176,7 +176,7 @@ char* VCWebView::vc_webview_load_script(const char* filename) fseek(f, 0, SEEK_SET); char *script = new char[fsize + 1]; - long int ret = fread(script, 1, fsize, f); + unsigned long int ret = fread(script, 1, fsize, f); if (ret != fsize) { LOGE("Couldn't read vc-webview.js file %ld, %ld", fsize, ret); fclose(f); @@ -833,7 +833,7 @@ static void __js_get_script_name_cb(Evas_Object *obj, const char *javascript_res fseek(f, 0, SEEK_SET); char *script = new char[fsize + 1]; - long int ret = fread(script, 1, fsize, f); + unsigned long int ret = fread(script, 1, fsize, f); if (ret != fsize) { LOGE("Couldn't read vc-webview.js file %ld, %ld", fsize, ret); fclose(f);