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 {
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);
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);