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

reformatting: print_value: 255 -> 0xFF

上级 de4dc19e
......@@ -909,7 +909,7 @@ static char *print_value(cJSON *item, int depth, int fmt, printbuffer *p)
}
if (p)
{
switch ((item->type) & 255)
switch ((item->type) & 0xFF)
{
case cJSON_NULL:
out = ensure(p, 5);
......@@ -948,7 +948,7 @@ static char *print_value(cJSON *item, int depth, int fmt, printbuffer *p)
}
else
{
switch ((item->type) & 255)
switch ((item->type) & 0xFF)
{
case cJSON_NULL:
out = cJSON_strdup("null");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册