diff mbox series

[FFmpeg-devel] avutil/avstring: Use proper types

Message ID GV1SPRMB00528ED014F2A8B8B762B0048F212@GV1SPRMB0052.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit ac61231757b422aca0596eab418c46a9940223b2
Headers show
Series [FFmpeg-devel] avutil/avstring: Use proper types | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt March 6, 2024, 10:44 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavutil/avstring.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Andreas Rheinhardt March 9, 2024, 7:38 p.m. UTC | #1
Andreas Rheinhardt:
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
> ---
>  libavutil/avstring.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavutil/avstring.c b/libavutil/avstring.c
> index 8751ce5576..2071dd36a5 100644
> --- a/libavutil/avstring.c
> +++ b/libavutil/avstring.c
> @@ -345,7 +345,7 @@ int av_escape(char **dst, const char *src, const char *special_chars,
>  int av_match_name(const char *name, const char *names)
>  {
>      const char *p;
> -    int len, namelen;
> +    size_t len, namelen;
>  
>      if (!name || !names)
>          return 0;

Will apply.

- Andreas
diff mbox series

Patch

diff --git a/libavutil/avstring.c b/libavutil/avstring.c
index 8751ce5576..2071dd36a5 100644
--- a/libavutil/avstring.c
+++ b/libavutil/avstring.c
@@ -345,7 +345,7 @@  int av_escape(char **dst, const char *src, const char *special_chars,
 int av_match_name(const char *name, const char *names)
 {
     const char *p;
-    int len, namelen;
+    size_t len, namelen;
 
     if (!name || !names)
         return 0;