commit f580c7dd93df2710a89b1934320f997fe971fc0e
parent c677233dcb438449575158efe86b6b4c95feffff
Author: William Casarin <jb55@jb55.com>
Date: Sat, 30 Dec 2023 19:20:38 -0800
nostrdb/fix clang compile issue
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nostrdb/src/cursor.h b/nostrdb/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;