mirror of
https://github.com/DaveGamble/cJSON.git
synced 2023-08-10 21:13:26 +03:00
cJSON.c: Remove unused cast
This commit is contained in:
parent
d06baf7052
commit
3bd3b7aae7
2
cJSON.c
2
cJSON.c
@ -1007,7 +1007,7 @@ CJSON_PUBLIC(cJSON *) cJSON_ParseWithOpts(const char *value, const char **return
|
|||||||
}
|
}
|
||||||
|
|
||||||
buffer.content = (const unsigned char*)value;
|
buffer.content = (const unsigned char*)value;
|
||||||
buffer.length = strlen((const char*)value) + sizeof("");
|
buffer.length = strlen(value) + sizeof("");
|
||||||
buffer.offset = 0;
|
buffer.offset = 0;
|
||||||
buffer.hooks = global_hooks;
|
buffer.hooks = global_hooks;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user