projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0bfe7b
)
added two typecasts to prevent compiler (gcc3) warnings
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 8 Jan 2002 07:06:07 +0000
(07:06 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 8 Jan 2002 07:06:07 +0000
(07:06 +0000)
lib/hostip.c
patch
|
blob
|
history
diff --git
a/lib/hostip.c
b/lib/hostip.c
index a4ef642b654fbca0e81a945c2700a2527505a15b..829188c495388706bd4e5996973729a1b8f67986 100644
(file)
--- 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