diff --git a/cJSON.c b/cJSON.c index 963b389..5a9f29b 100644 --- a/cJSON.c +++ b/cJSON.c @@ -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. */ -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); }