From: Yu Date: Mon, 17 Dec 2018 05:20:54 +0000 (+0900) Subject: Fix 64bit build error X-Git-Tag: accepted/tizen/5.5/unified/20191031.014745^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_5.5_unified_wearable_hotfix;p=apps%2Fnative%2Fug-wifi-direct.git Fix 64bit build error Change-Id: Ifb6da222ad42951f68e5b72dd28be3f34196243c Signed-off-by: Yu jiung --- diff --git a/popup-wifidirect/src/wfd-app-popup-view.c b/popup-wifidirect/src/wfd-app-popup-view.c index 3b4fcf3..d58170b 100755 --- a/popup-wifidirect/src/wfd-app-popup-view.c +++ b/popup-wifidirect/src/wfd-app-popup-view.c @@ -438,7 +438,7 @@ static void _smart_ime_cb(void *data, Evas_Object * obj, void *event_info) char *txt = elm_entry_markup_to_utf8(elm_entry_entry_get((const Evas_Object *) imf_context)); if (NULL != txt) { - WFD_APP_LOG(WFD_APP_LOG_LOW, "* text [%s], len=[%d]", txt, strlen(txt)); + WFD_APP_LOG(WFD_APP_LOG_LOW, "* text [%s], len=[%zu]", txt, strlen(txt)); strncpy(connection->wps_pin, txt, sizeof(connection->wps_pin) - 1); WFD_IF_FREE_MEM(txt); } else { diff --git a/popup-wifidirect/src/wfd-app-util.c b/popup-wifidirect/src/wfd-app-util.c index 5b80486..18bd5cc 100644 --- a/popup-wifidirect/src/wfd-app-util.c +++ b/popup-wifidirect/src/wfd-app-util.c @@ -126,7 +126,7 @@ static void _move_data_to_app_control(const char *key, const int type, return; } snprintf(buff, size + 1, "%s", ((char*) ptr)); - WFD_APP_LOG(WFD_APP_LOG_ERROR, "Found STR -KEY: %s, VAL: %s, SIZE: %d", key, buff, size); + WFD_APP_LOG(WFD_APP_LOG_ERROR, "Found STR -KEY: %s, VAL: %s, SIZE: %zu", key, buff, size); app_control_add_extra_data(control, key, buff); free(buff); @@ -139,7 +139,7 @@ static void _move_data_to_app_control(const char *key, const int type, return; } snprintf(buff, size + 1, "%s", ((char*) ptr)); - WFD_APP_LOG(WFD_APP_LOG_ERROR, "Found STR -KEY: %s, VAL: %s, SIZE: %d", key, buff, size); + WFD_APP_LOG(WFD_APP_LOG_ERROR, "Found STR -KEY: %s, VAL: %s, SIZE: %zu", key, buff, size); app_control_add_extra_data(control, key, buff); free(buff);