From 0ea6ee6ea208da081e74f41d954ebcaa4c145ffe Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 23 Sep 2024 13:25:49 -0400 Subject: [PATCH] MT#55283 use appropriate size_t type Change-Id: I870731978d51b542ebd93a5070b9fc39ea1592b4 --- include/call.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/call.h b/include/call.h index c32a02ef0..d687507fa 100644 --- a/include/call.h +++ b/include/call.h @@ -868,7 +868,7 @@ INLINE void *call_malloc(size_t l) { return ret; } -INLINE char *call_strdup_len(const char *s, unsigned int len) { +INLINE char *call_strdup_len(const char *s, size_t len) { char *r; if (!s) return NULL; @@ -883,7 +883,7 @@ INLINE char *call_strdup(const char *s) { return NULL; return call_strdup_len(s, strlen(s)); } -INLINE str call_str_cpy_len(const char *in, int len) { +INLINE str call_str_cpy_len(const char *in, size_t len) { str out; if (!in) { out = STR_NULL;