summaryrefslogtreecommitdiff
path: root/tests/libtest/lib655.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-02-23 23:35:23 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-03-04 19:46:26 +0100
commit8b0b1a30881590e70082784e16f3c2c66d88b218 (patch)
treece286b6ee193d73373f95d92fd5230fb788529e0 /tests/libtest/lib655.c
parent68d84cfe984e7d0483fad14fdd7deef4bf67de1b (diff)
downloadgnurl-8b0b1a30881590e70082784e16f3c2c66d88b218.tar.gz
gnurl-8b0b1a30881590e70082784e16f3c2c66d88b218.tar.bz2
gnurl-8b0b1a30881590e70082784e16f3c2c66d88b218.zip
build: get CFLAGS (including -werror) used for examples and tests
... so that the CI and more detects compiler warnings/errors properly! Closes #2337
Diffstat (limited to 'tests/libtest/lib655.c')
-rw-r--r--tests/libtest/lib655.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/libtest/lib655.c b/tests/libtest/lib655.c
index f87191598..8777b99ed 100644
--- a/tests/libtest/lib655.c
+++ b/tests/libtest/lib655.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -23,7 +23,7 @@
#include "memdebug.h"
-static const char TEST_DATA_STRING[] = "Test data";
+static const char *TEST_DATA_STRING = "Test data";
static int cb_count = 0;
static int