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 2a1c005..074e1bb 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",