mirror of
https://github.com/DaveGamble/cJSON.git
synced 2026-10-27 12:26:34 +00:00
print_string: Add more const
This commit is contained in:
1 parent
1e999352d3
commit
6a746a230a
1 file changed
+1
-1
@@ -794,7 +794,7 @@ static unsigned char *print_string_ptr(const unsigned char * const input, printb
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Invoke print_string_ptr (which is useful) on an item. */
|
/* Invoke print_string_ptr (which is useful) on an item. */
|
||||||
static unsigned char *print_string(const cJSON *item, printbuffer *p)
|
static unsigned char *print_string(const cJSON * const item, printbuffer * const p)
|
||||||
{
|
{
|
||||||
return print_string_ptr((unsigned char*)item->valuestring, p);
|
return print_string_ptr((unsigned char*)item->valuestring, p);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user