From 3bd3b7aae7f947237ca8a949a8f281e3ae3d6fb2 Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Sun, 25 Mar 2018 15:11:56 +0200 Subject: [PATCH] cJSON.c: Remove unused cast --- cJSON.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cJSON.c b/cJSON.c index 681a348..89de6f6 100644 --- a/cJSON.c +++ b/cJSON.c @@ -1007,7 +1007,7 @@ CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return } buffer.content = (const unsigned char*)value; - buffer.length = strlen((const char*)value) + sizeof(""); + buffer.length = strlen(value) + sizeof(""); buffer.offset = 0; buffer.hooks = global_hooks;