[FFmpeg-cvslog] avutil/avstring: Use size_t in av_strlcatf()
Michael Niedermayer
git at videolan.org
Wed Jun 17 22:09:37 CEST 2015
ffmpeg | branch: release/2.2 | Michael Niedermayer <michaelni at gmx.at> | Mon May 11 20:01:15 2015 +0200| [f76b54fba781596eef7f45851f6fc0efdc23bebe] | 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=f76b54fba781596eef7f45851f6fc0efdc23bebe
---
libavutil/avstring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index e75cdc6..d306cbe 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);
More information about the ffmpeg-cvslog
mailing list