From 1e774a95f51b98bd9a45c29a7933137ee4e0406a Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Mon, 22 Jan 2018 10:23:29 +0000 Subject: [PATCH] Don't rely on GCC extensions. --- src/tools/getdns_server_mon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/getdns_server_mon.c b/src/tools/getdns_server_mon.c index 2f8cd182..47401492 100644 --- a/src/tools/getdns_server_mon.c +++ b/src/tools/getdns_server_mon.c @@ -1494,7 +1494,7 @@ static exit_value test_concurrent(const struct test_info_s *test_info, } /* Three names with random TLDs. */ - const int NAMELEN = 30; + #define NAMELEN 30 char names[3][NAMELEN + 1]; srandom((unsigned int) time(NULL));