aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-01-08 07:06:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-01-08 07:06:07 +0000
commit75bba0da92ffb800e61b6ffc216a122fefb71cbf (patch)
tree97c983c92089dc07a87a57af89848a0fb6bf134b /lib
parentc0bfe7be15debd3ed5f061990a14929b1ffba39f (diff)
added two typecasts to prevent compiler (gcc3) warnings
Diffstat (limited to 'lib')
-rw-r--r--lib/hostip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostip.c b/lib/hostip.c
index a4ef642b6..829188c49 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