]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Update to use const char * for sexp_iterator_assoc.
authorNiels Möller <nisse@lysator.liu.se>
Sat, 3 Sep 2016 14:12:40 +0000 (16:12 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Sat, 3 Sep 2016 14:12:40 +0000 (16:12 +0200)
ChangeLog
testsuite/sexp-test.c

index ad3172009e080cdf244e83b3093cd4700433de6a..9a9d3d01e45a60de1a45fb9c03e247cf606376aa 100644 (file)
--- 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  <nisse@lysator.liu.se>
 
        * sexp-format.c (strlen_u8): New helper function.
index 324d61f0fc0568518fae68422d5928ae3a17de7b..c1d421fc576390bf44828454179ca3dbe97cb569 100644 (file)
@@ -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))")));