提交 efb5e1bc 编写于 作者: M Max Bruckner

parse_string: Improve const correctnes of pointers

上级 ace50477
......@@ -543,7 +543,7 @@ fail:
}
/* Parse the input text into an unescaped cinput, and populate item. */
static const unsigned char *parse_string(cJSON *item, const unsigned char *input, const unsigned char **error_pointer)
static const unsigned char *parse_string(cJSON * const item, const unsigned char * const input, const unsigned char ** const error_pointer)
{
const unsigned char *input_pointer = input + 1;
const unsigned char *input_end = input + 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册