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;