memset(buf, 0, sizeof(buf));
if (!SAFE_STRLCPY(buf, input_path, sizeof(buf)))
- media_content_sec_debug("Truncation occurred[%d]", strlen(input_path));
+ media_content_sec_debug("Truncation occurred[%zu]", strlen(input_path));
while ((pos = strstr(buf, "//")) != NULL) {
memset(tmp, 0, sizeof(tmp));
memset(buf, 0, sizeof(buf));
if (!SAFE_STRLCPY(buf, tmp, sizeof(buf)))
- media_content_sec_debug("Truncation occurred[%d]", strlen(tmp));
+ media_content_sec_debug("Truncation occurred[%zu]", strlen(tmp));
}
if (g_str_has_suffix(buf, "/"))