aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-11 20:01:15 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-15 10:04:51 +0200
commit39236d56181e9f870d4281ec1beb0f6496579b4a (patch)
treef204bb9acad1f72a7a0affe909bf929bc08273da
parent38e628fd6df6dcb6fe69472b95e539519061ac49 (diff)
downloadffmpeg-39236d56181e9f870d4281ec1beb0f6496579b4a.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 25c65b4238..5200dd767f 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -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);