Commit 95efc651 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/url: Use size_t for len from strlen()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 28b7d7a3
......@@ -68,7 +68,7 @@ int ff_url_join(char *str, int size, const char *proto,
av_strlcatf(str, size, ":%d", port);
if (fmt) {
va_list vl;
int len = strlen(str);
size_t len = strlen(str);
va_start(vl, fmt);
vsnprintf(str + len, size > len ? size - len : 0, fmt, vl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment