Fix 64bit build error
[apps/native/ug-wifi-direct.git] / popup-wifidirect / src / wfd-app-popup-view.c
index bb435c1..d58170b 100755 (executable)
@@ -81,7 +81,7 @@ static void __popup_resp_cb(void *data, Evas_Object * obj, void *event_info)
        char msg[WFD_POP_STR_MAX_LEN] = {0};
        char *format_str = NULL;
 
-       WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %d\n", resp);
+       WFD_APP_LOG(WFD_APP_LOG_HIGH, "popup resp : %lu\n", resp);
 
        switch (resp) {
        case /* MT */ WFD_POP_RESP_APRV_CONNECT_PBC_YES:
@@ -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 {