[FFmpeg-cvslog] avutil/avstring: Use size_t in av_strlcatf()
Michael Niedermayer
git at videolan.org
Mon May 11 20:10:42 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May 11 20:01:15 2015 +0200| [ae4eea8be45a0b212fd57ceaac1f11089ab81d98] | committer: Michael Niedermayer
avutil/avstring: Use size_t in av_strlcatf()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ae4eea8be45a0b212fd57ceaac1f11089ab81d98
---
libavutil/avstring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 670801e..f785816 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