From: Niels Möller Date: Sat, 3 Sep 2016 14:12:40 +0000 (+0200) Subject: Update to use const char * for sexp_iterator_assoc. X-Git-Tag: nettle_3.3_release_20161001~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d9cee92c61f5621959e72f26f83c6b1ffb8392a;p=thirdparty%2Fnettle.git Update to use const char * for sexp_iterator_assoc. --- diff --git a/ChangeLog b/ChangeLog index ad317200..9a9d3d01 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,9 @@ * testsuite/md5-compat-test.c (test_main): Use US macro. + * testsuite/sexp-test.c (test_main): Use const char * for assoc + keys. Overlooked in 2016-08-16 change. + 2016-08-29 Niels Möller * sexp-format.c (strlen_u8): New helper function. diff --git a/testsuite/sexp-test.c b/testsuite/sexp-test.c index 324d61f0..c1d421fc 100644 --- a/testsuite/sexp-test.c +++ b/testsuite/sexp-test.c @@ -70,7 +70,7 @@ test_main(void) } { - static const uint8_t *keys[2] = { "n", "e" }; + static const char * const keys[2] = { "n", "e" }; struct sexp_iterator v[2]; ASSERT(sexp_iterator_first(&i, LDATA("((1:n2:xx3:foo)0:(1:y)(1:e))")));