From bdb948f715d2b6936f965d591695893e1b039d90 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 16 Feb 2007 21:39:25 +0000 Subject: [PATCH] cast for less warnings git-svn-id: file:///svn/unbound/trunk@122 be551aaa-1e26-0410-a405-d3ace91eadb9 --- services/listen_dnsport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/listen_dnsport.c b/services/listen_dnsport.c index f308ee517..78dfc0777 100644 --- a/services/listen_dnsport.c +++ b/services/listen_dnsport.c @@ -208,7 +208,7 @@ make_sock(int stype, const char* ifname, const char* port, if((r=getaddrinfo(ifname, port, hints, &res)) != 0 || !res) { log_err("node %s:%s getaddrinfo: %s %s", ifname?ifname:"default", port, gai_strerror(r), - r==EAI_SYSTEM?strerror(errno):""); + r==EAI_SYSTEM?(char*)strerror(errno):""); return -1; } if(stype == SOCK_DGRAM) -- 2.47.3