From c621546bd608d5f836d165c2a33ff3d37e2e21e5 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 13 Apr 2009 07:18:39 +0000 Subject: fix compiler warning: implicit conversion shortens 64-bit value into a 32-bit value --- lib/curl_addrinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/curl_addrinfo.c') 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, , et al. + * Copyright (C) 1998 - 2009, Daniel Stenberg, , 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); -- cgit v1.2.3