cJSON.c: Remove unused cast

This commit is contained in:
Max Bruckner 2018-03-25 15:11:56 +02:00
parent 08a2ad3c59
commit 1f4044a707
1 changed files with 1 additions and 1 deletions

View File

@ -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;