mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Fix compiler warnings: conversion from 'const int ' to 'unsigned char ', possible loss of data
This commit is contained in:
parent
d28b8d3158
commit
839b61c32a
@ -1201,7 +1201,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
disconnect_conn = TRUE;
|
disconnect_conn = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
retry = newurl?TRUE:FALSE;
|
retry = (bool)(newurl?TRUE:FALSE);
|
||||||
|
|
||||||
Curl_posttransfer(easy->easy_handle);
|
Curl_posttransfer(easy->easy_handle);
|
||||||
drc = Curl_done(&easy->easy_conn, easy->result, FALSE);
|
drc = Curl_done(&easy->easy_conn, easy->result, FALSE);
|
||||||
@ -1393,7 +1393,7 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
|
|
||||||
easy->result = Curl_retry_request(easy->easy_conn, &newurl);
|
easy->result = Curl_retry_request(easy->easy_conn, &newurl);
|
||||||
if(!easy->result)
|
if(!easy->result)
|
||||||
retry = newurl?TRUE:FALSE;
|
retry = (bool)(newurl?TRUE:FALSE);
|
||||||
|
|
||||||
/* call this even if the readwrite function returned error */
|
/* call this even if the readwrite function returned error */
|
||||||
Curl_posttransfer(easy->easy_handle);
|
Curl_posttransfer(easy->easy_handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user