print_string: Add more const

This commit is contained in:
Max Bruckner 2017-02-20 12:02:56 +01:00
parent 1e999352d3
commit 6a746a230a

View File

@ -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);
}