aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-11 20:01:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-06-10 02:13:11 +0200
commit93a04473fc09b6283f3d8322f862ce882a47e0d9 (patch)
tree47fa5d1f6354f0441c57e8d7982e3522acc6f840
parentdb0c4d2e3c7079c2d854e258b494b39a55b84a90 (diff)
downloadffmpeg-93a04473fc09b6283f3d8322f862ce882a47e0d9.tar.gz
avutil/avstring: Use size_t in av_strlcatf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit ae4eea8be45a0b212fd57ceaac1f11089ab81d98) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavutil/avstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index cf9be2a0d5..6127a985e0 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -99,7 +99,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);