diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2012-09-14 16:01:19 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2012-09-14 16:01:19 +0200 |
commit | 9b25b00fa3c0d57c9356fbdcec9883a3cdd16c93 (patch) | |
tree | e3717bf4346d2424ece3800079c7f35768b82fce /lib | |
parent | ba41ecfa176edeb158b4971bcfead764f52bf331 (diff) |
socks.c: Fixed warning: conversion to 'int' from 'long unsigned int'
Diffstat (limited to 'lib')
-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; |