mirror of
https://github.com/curl/curl.git
synced 2026-04-15 02:01:40 +03:00
added two typecasts to prevent compiler (gcc3) warnings
This commit is contained in:
parent
c0bfe7be15
commit
75bba0da92
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue