From 47715fd1f7ec599f655a46594e2d12a0e5290303 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 14 Sep 2013 20:39:14 +0200 Subject: mplayer: m_option: fix clang -Wformat compiler warning Code was using %d format instead %zd to print size_t data. --- mpvcore/m_option.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mpvcore/m_option.c') 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); } } -- cgit v1.2.3