Permalink
Browse files

socks.c: Fixed warning: conversion to 'int' from 'long unsigned int'

  • Loading branch information...
mback2k committed Sep 14, 2012
1 parent ba41ecf commit 9b25b00fa3c0d57c9356fbdcec9883a3cdd16c93
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/socks.c
View
@@ -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;

0 comments on commit 9b25b00

Please sign in to comment.