From 872f847655225f9b3febc9afde203808beca94c4 Mon Sep 17 00:00:00 2001 From: Jacob Potter Date: Wed, 5 Dec 2012 16:50:08 -0800 Subject: [PATCH] Change const pointer to array Closes #95. --- src/pack_unpack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pack_unpack.c b/src/pack_unpack.c index cdce28c..18f9ccb 100644 --- a/src/pack_unpack.c +++ b/src/pack_unpack.c @@ -34,7 +34,7 @@ static const char * const type_names[] = { #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,