avutil/avstring: Use size_t in av_strlcatf()
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 11 May 2015 18:01:15 +0000 (20:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 11 May 2015 18:01:15 +0000 (20:01 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavutil/avstring.c

index 670801e..f785816 100644 (file)
@@ -100,7 +100,7 @@ size_t av_strlcat(char *dst, const char *src, size_t size)
 
 size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...)
 {
-    int len = strlen(dst);
+    size_t len = strlen(dst);
     va_list vl;
 
     va_start(vl, fmt);