mirror of https://git.ffmpeg.org/ffmpeg.git
avutil/avstring: Use size_t in av_strlcatf()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit ae4eea8be4
)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
27a0dab914
commit
8c6bbc6728
|
@ -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, ...)
|
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_list vl;
|
||||||
|
|
||||||
va_start(vl, fmt);
|
va_start(vl, fmt);
|
||||||
|
|
Loading…
Reference in New Issue