From: Daniel Stenberg Date: Tue, 8 Jan 2002 07:06:07 +0000 (+0000) Subject: added two typecasts to prevent compiler (gcc3) warnings X-Git-Tag: curl-7_9_3-pre1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=75bba0da92ffb800e61b6ffc216a122fefb71cbf;p=thirdparty%2Fcurl.git added two typecasts to prevent compiler (gcc3) warnings --- diff --git a/lib/hostip.c b/lib/hostip.c index a4ef642b65..829188c495 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -186,7 +186,7 @@ int curl_getaddrinfo(char *hostname, char *service, /* success */ if(logfile) fprintf(logfile, "ADDR %s:%d getaddrinfo() = %p\n", - source, line, *result); + source, line, (void *)*result); } else { if(logfile) @@ -202,7 +202,7 @@ void curl_freeaddrinfo(struct addrinfo *freethis, (freeaddrinfo)(freethis); if(logfile) fprintf(logfile, "ADDR %s:%d freeaddrinfo(%p)\n", - source, line, freethis); + source, line, (void *)freethis); } #endif