From: Eric Haszlakiewicz Date: Thu, 16 Feb 2012 01:37:04 +0000 (-0600) Subject: Issue#10: add some const qualifiers so test1 compiles again. X-Git-Tag: json-c-0.10-20120530~36 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=44f0f622527aa7b3801dbbe867566d5f5a8c8a29;p=thirdparty%2Fjson-c.git Issue#10: add some const qualifiers so test1 compiles again. --- diff --git a/test1.c b/test1.c index 2a4daf02..1ca4db93 100644 --- a/test1.c +++ b/test1.c @@ -8,7 +8,7 @@ static int sort_fn (const void *j1, const void *j2) { - json_object **jso1, **jso2; + json_object * const *jso1, * const *jso2; int i1, i2; jso1 = j1;