aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip4.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-06-24 10:43:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-06-24 10:43:50 +0000
commit5e34f3dc0133333fb398dd4b285a63f58aa441da (patch)
tree24ad1f8d707fa14cc663f8e1ec534ef7703b2d2d /lib/hostip4.c
parent0031d76f2a77e583528a817bcf7b605052b95893 (diff)
made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r--lib/hostip4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c
index b742dfa10..cdc01a47c 100644
--- a/lib/hostip4.c
+++ b/lib/hostip4.c
@@ -404,7 +404,7 @@ struct hostent {
*/
-Curl_addrinfo *Curl_he2ai(struct hostent *he, unsigned short port)
+Curl_addrinfo *Curl_he2ai(struct hostent *he, int port)
{
Curl_addrinfo *ai;
Curl_addrinfo *prevai = NULL;