From 4577ab99f2d3eb72c7b1d4f0ae93e229d4e9a3b7 Mon Sep 17 00:00:00 2001 From: Cloudwalk Date: Mon, 10 May 2021 13:59:31 -0400 Subject: [PATCH] Whitespace fix. Silence compiler warning. --- json.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/json.c b/json.c index 2f060345..756a8161 100644 --- a/json.c +++ b/json.c @@ -159,7 +159,7 @@ static inline qbool Json_Parse_Number(struct qjson_state_s *json) static inline qbool Json_Parse_Keyword(struct qjson_state_s *json, const char *keyword) { size_t keyword_size = strlen(keyword); - if(!strncmp(keyword, json->state->pos, keyword_size)) + if(!strncmp(keyword, (const char *)json->state->pos, keyword_size)) { Parse_Next(json->state, keyword_size - 1); return true; @@ -207,7 +207,7 @@ static inline qbool Json_Parse_Pairs(struct qjson_state_s *json) if(Parse_NextToken(json->state) == '"') { Json_Parse_String(json); - + // And its value if(Parse_NextToken(json->state) == ':') { -- 2.39.2