From d5bcc06e5c6bff2a33b31011d0c1b75d253a4a2f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 2 Nov 2015 06:52:35 +0000 Subject: [PATCH] -fix compiler warning --- src/util/test_resolver_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/test_resolver_api.c b/src/util/test_resolver_api.c index 336515312..f968b6b49 100644 --- a/src/util/test_resolver_api.c +++ b/src/util/test_resolver_api.c @@ -275,7 +275,7 @@ run (void *cls, char *const *args, const char *cfgfile, } rootserver = - gethostbyaddr (&rootserver_addr, + gethostbyaddr ((const void *) &rootserver_addr, sizeof (rootserver_addr), AF_INET); if (NULL == rootserver) -- 2.25.1