Fix 64bit build error
[apps/native/ug-wifi-direct.git] / popup-wifidirect / src / wfd-app-util.c
index 5b80486..18bd5cc 100644 (file)
@@ -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);