aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-09-14 16:01:19 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-09-14 16:01:19 +0200
commit9b25b00fa3c0d57c9356fbdcec9883a3cdd16c93 (patch)
treee3717bf4346d2424ece3800079c7f35768b82fce /lib
parentba41ecfa176edeb158b4971bcfead764f52bf331 (diff)
socks.c: Fixed warning: conversion to 'int' from 'long unsigned int'
Diffstat (limited to 'lib')
-rw-r--r--lib/socks.c2
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;