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