diff options
author | Yang Tse <yangsita@gmail.com> | 2009-04-13 07:18:39 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2009-04-13 07:18:39 +0000 |
commit | c621546bd608d5f836d165c2a33ff3d37e2e21e5 (patch) | |
tree | 0b9766ecc282037a877a7d0ff6a270a071772263 /lib/curl_addrinfo.c | |
parent | aa330b8240c819da037c83e2df2088cb420c8191 (diff) | |
download | curl-c621546bd608d5f836d165c2a33ff3d37e2e21e5.tar.gz |
fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value
Diffstat (limited to 'lib/curl_addrinfo.c')
-rw-r--r-- | lib/curl_addrinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_addrinfo.c b/lib/curl_addrinfo.c index 826eae8ce..f75145722 100644 --- a/lib/curl_addrinfo.c +++ b/lib/curl_addrinfo.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -370,7 +370,7 @@ Curl_ip2addr(int af, const void *inaddr, const char *hostname, int port) struct namebuff *buf; char *addrentry; char *hoststr; - int addrsize; + size_t addrsize; DEBUGASSERT(inaddr && hostname); |