SAFE_FREE(buf);
if (strlen(msg->org_path) == 0 || strlen(msg->org_path) >= MAX_FILEPATH_LEN) {
- thumb_err("org_path size is invalid %d", strlen(msg->org_path));
+ thumb_err("org_path size is invalid %zu", strlen(msg->org_path));
return MS_MEDIA_ERR_SOCKET_RECEIVE;
}
/* it can be empty string */
if (strlen(msg->dst_path) >= MAX_FILEPATH_LEN) {
- thumb_err("dst_path size is invalid %d", strlen(msg->dst_path));
+ thumb_err("dst_path size is invalid %zu", strlen(msg->dst_path));
return MS_MEDIA_ERR_SOCKET_RECEIVE;
}