mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-11-13 17:00:44 +00:00
cJSON.c: Remove unused cast
This commit is contained in:
1 parent
d06baf7052
commit
3bd3b7aae7
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user