Skip to content
Snippets Groups Projects
Commit 75bba0da authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added two typecasts to prevent compiler (gcc3) warnings

parent c0bfe7be
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment