From ee69a49f0141704b50f3d3d357113e5cdb1728b1 Mon Sep 17 00:00:00 2001 From: Tomasz Lisowski Date: Sun, 1 May 2022 22:06:59 +0200 Subject: [PATCH] Make hex literal upper case for consistency --- cJSON.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index 524ba46..8667308 100644 --- a/cJSON.c +++ b/cJSON.c @@ -2910,7 +2910,7 @@ CJSON_PUBLIC(cJSON_bool) cJSON_IsTrue(const cJSON * const item) return false; } - return (item->type & 0xff) == cJSON_True; + return (item->type & 0xFF) == cJSON_True; }