Change const pointer to array

Closes #95.
This commit is contained in:
Jacob Potter 2012-12-05 16:50:08 -08:00 committed by Petri Lehtinen
parent f86bb0377f
commit 872f847655

View File

@ -34,7 +34,7 @@ static const char * const type_names[] = {
#define type_name(x) type_names[json_typeof(x)] #define type_name(x) type_names[json_typeof(x)]
static const char * const unpack_value_starters = "{[siIbfFOon"; static const char unpack_value_starters[] = "{[siIbfFOon";
static void scanner_init(scanner_t *s, json_error_t *error, static void scanner_init(scanner_t *s, json_error_t *error,