From 27141849a2f430b8630beefb0f32a6d9b8e3c287 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 6 Aug 2023 09:30:59 -0700 Subject: [PATCH] cast to an int to fix warning --- jshon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jshon.c b/jshon.c index ffefee6..8596c6d 100644 --- a/jshon.c +++ b/jshon.c @@ -436,7 +436,7 @@ char* remove_jsonp_callback(char* in, int* rows_skipped, int* cols_skipped) {++first;} // skip leading identifier if present - while (first < last && JSON_IDENTIFIER(*first)) + while (first < last && JSON_IDENTIFIER((int)*first)) {++first;} // skip over forward brackets and whitespace, counting down the opening brackets