[FFmpeg-cvslog] avutil/avstring: Use size_t in av_strlcatf()

Michael Niedermayer git at videolan.org
Tue Jun 2 00:50:04 CEST 2015


ffmpeg | branch: release/2.4 | Michael Niedermayer <michaelni at gmx.at> | Mon May 11 20:01:15 2015 +0200| [8c6bbc6728d8ddb57c059a2a5bb011a346706c6e] | committer: Michael Niedermayer

avutil/avstring: Use size_t in av_strlcatf()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit ae4eea8be45a0b212fd57ceaac1f11089ab81d98)

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c6bbc6728d8ddb57c059a2a5bb011a346706c6e
---

 libavutil/avstring.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index fd010e4..3243aaa 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);



More information about the ffmpeg-cvslog mailing list