aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-08-29 03:57:28 +0000
committerGunter Knauf <gk@gknw.de>2009-08-29 03:57:28 +0000
commitfad14bca01d7a3db629a86fd8af879e89781e065 (patch)
tree9cef1cd0148efd46fcce46cc5605f3c7962e72c9 /lib
parent9e8eec4816f512f4dc50e64ac0df9ade854f093e (diff)
removed obsolete casts.
Diffstat (limited to 'lib')
-rw-r--r--lib/socks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socks.c b/lib/socks.c
index b14b06446..55f3e67b2 100644
--- a/lib/socks.c
+++ b/lib/socks.c
@@ -513,10 +513,10 @@ CURLcode Curl_SOCKS5(const char *proxy_name,
len = 0;
socksreq[len++] = 1; /* username/pw subnegotiation version */
socksreq[len++] = (char) userlen;
- memcpy(socksreq + len, proxy_name, (int) userlen);
+ memcpy(socksreq + len, proxy_name, userlen);
len += (int)userlen;
socksreq[len++] = (char) pwlen;
- memcpy(socksreq + len, proxy_password, (int) pwlen);
+ memcpy(socksreq + len, proxy_password, pwlen);
len += (int)pwlen;
code = Curl_write_plain(conn, sock, (char *)socksreq, len, &written);