mirror of
https://github.com/curl/curl.git
synced 2026-07-27 22:43:12 +03:00
add casts to smoothen the long/unsigned char difference
This commit is contained in:
parent
5562d3bef7
commit
8eb32eafb7
1 changed files with 2 additions and 2 deletions
|
|
@ -2749,7 +2749,7 @@ static CURLcode ftp_pp_statemachine(struct Curl_easy *data,
|
|||
requested. Try an FTPS connection now */
|
||||
|
||||
ftpc->count3 = 0;
|
||||
switch(data->set.ftpsslauth) {
|
||||
switch((long)data->set.ftpsslauth) {
|
||||
case CURLFTPAUTH_DEFAULT:
|
||||
case CURLFTPAUTH_SSL:
|
||||
ftpc->count2 = 1; /* add one to get next */
|
||||
|
|
@ -2868,7 +2868,7 @@ static CURLcode ftp_pp_statemachine(struct Curl_easy *data,
|
|||
* server, but we do not send one. Let's hope other servers do
|
||||
* the same... */
|
||||
result = Curl_ssl_cfilter_remove(data, FIRSTSOCKET,
|
||||
(data->set.ftp_ccc == CURLFTPSSL_CCC_ACTIVE));
|
||||
(data->set.ftp_ccc == (unsigned char)CURLFTPSSL_CCC_ACTIVE));
|
||||
|
||||
if(result)
|
||||
failf(data, "Failed to clear the command channel (CCC)");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue