summaryrefslogtreecommitdiffstats
path: root/mpvcore
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore')
-rw-r--r--mpvcore/m_option.c2
-rw-r--r--mpvcore/mplayer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mpvcore/m_option.c b/mpvcore/m_option.c
index 8b33d56dc5..acecd990d7 100644
--- a/mpvcore/m_option.c
+++ b/mpvcore/m_option.c
@@ -2409,7 +2409,7 @@ static void append_param(char **res, char *param)
*res = talloc_strdup_append(*res, param);
} else {
// Simple escaping: %BYTECOUNT%STRING
- *res = talloc_asprintf_append(*res, "%%%d%%%s", strlen(param), param);
+ *res = talloc_asprintf_append(*res, "%%%zd%%%s", strlen(param), param);
}
}
diff --git a/mpvcore/mplayer.c b/mpvcore/mplayer.c
index 9fc1c0f6c5..c8991fb64e 100644
--- a/mpvcore/mplayer.c
+++ b/mpvcore/mplayer.c
@@ -4213,7 +4213,7 @@ static void print_resolve_contents(struct mp_log *log,
if (res->subs[n]->lang)
mp_msg_log(log, MSGL_V, " lang: %s\n", res->subs[n]->lang);
if (res->subs[n]->data) {
- mp_msg_log(log, MSGL_V, " data: %d bytes\n",
+ mp_msg_log(log, MSGL_V, " data: %zd bytes\n",
strlen(res->subs[n]->data));
}
}