From: Marc Hoersken Date: Fri, 14 Sep 2012 14:01:19 +0000 (+0200) Subject: socks.c: Fixed warning: conversion to 'int' from 'long unsigned int' X-Git-Tag: curl-7_28_0~33 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9b25b00fa3c0d57c9356fbdcec9883a3cdd16c93;p=curl socks.c: Fixed warning: conversion to 'int' from 'long unsigned int' --- diff --git a/lib/socks.c b/lib/socks.c index c857f7a82..399256726 100644 --- a/lib/socks.c +++ b/lib/socks.c @@ -563,7 +563,7 @@ CURLcode Curl_SOCKS5(const char *proxy_name, socksreq[len++] = 3; /* ATYP: domain name = 3 */ socksreq[len++] = (char) hostname_len; /* address length */ memcpy(&socksreq[len], hostname, hostname_len); /* address str w/o NULL */ - len += hostname_len; + len += (int)hostname_len; } else { struct Curl_dns_entry *dns;