chiark / gitweb /
test-strv: do not declare table to be sorted const
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Apr 2013 04:31:59 +0000 (00:31 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 5 Apr 2013 04:31:59 +0000 (00:31 -0400)
Segmentation fault under clang.

src/test/test-strv.c

index 2a1c0057cebce84b169a157b2d309b7b15cbe930..074e1bb3d411c399a5401b2dd7d260ab9f2891fe 100644 (file)
@@ -161,7 +161,7 @@ static void test_strv_overlap(void) {
 }
 
 static void test_strv_sort(void) {
-        const char * const input_table[] = {
+        const char* input_table[] = {
                 "durian",
                 "apple",
                 "citrus",