mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
long/int cleanup to silence picky compiler warnings
This commit is contained in:
parent
752acedc0b
commit
482b3ba702
3 changed files with 5 additions and 4 deletions
|
|
@ -1950,7 +1950,8 @@ static int handleSock4Proxy(const char *proxy_name, struct connectdata *conn)
|
|||
{
|
||||
ssize_t actualread;
|
||||
ssize_t written;
|
||||
int packetsize = 9 + strlen((char*)socksreq + 8); /* size including NUL */
|
||||
int packetsize = 9 +
|
||||
(int)strlen((char*)socksreq + 8); /* size including NUL */
|
||||
|
||||
/* Send request */
|
||||
code = Curl_write(conn, sock, (char *)socksreq, packetsize, &written);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue