mirror of https://github.com/moparisthebest/curl
transfer: warning: implicit conversion
There is an implicit conversion from "unsigned long" to "long"; rounding, sign extension, or loss of accuracy may result. Fixed by an added typecast.
This commit is contained in:
parent
3b47d231ac
commit
b3d7161642
|
@ -734,7 +734,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
|
||||||
|
|
||||||
/* Parse the excess data */
|
/* Parse the excess data */
|
||||||
k->str += nread;
|
k->str += nread;
|
||||||
nread = excess;
|
nread = (ssize_t)excess;
|
||||||
|
|
||||||
result = Curl_rtsp_rtp_readwrite(data, conn, &nread, &readmore);
|
result = Curl_rtsp_rtp_readwrite(data, conn, &nread, &readmore);
|
||||||
if(result)
|
if(result)
|
||||||
|
|
Loading…
Reference in New Issue