mirror of
https://github.com/curl/curl.git
synced 2026-07-23 16:27:17 +03:00
socks.c: Fixed warning: conversion to 'int' from 'long unsigned int'
This commit is contained in:
parent
ba41ecfa17
commit
9b25b00fa3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue