From f7b1bc0cdcd0b3d02dc6b96ca8be7b267c9da3e4 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 30 Dec 2023 19:20:38 -0800 Subject: [PATCH] fix clang compile issue --- src/cursor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cursor.h b/src/cursor.h index cd5cd31..f1a5287 100644 --- a/src/cursor.h +++ b/src/cursor.h @@ -475,7 +475,7 @@ static inline int pull_bytes(struct cursor *cur, int count, const unsigned char } static inline int parse_str(struct cursor *cur, const char *str) { - int i; + unsigned int i; char c, cs; unsigned long len;