diff options
-rw-r--r-- | lib/socks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |