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:
Daniel Stenberg 2010-06-08 10:36:06 +02:00
parent 3b47d231ac
commit b3d7161642
1 changed files with 1 additions and 1 deletions

View File

@ -734,7 +734,7 @@ static CURLcode readwrite_data(struct SessionHandle *data,
/* Parse the excess data */
k->str += nread;
nread = excess;
nread = (ssize_t)excess;
result = Curl_rtsp_rtp_readwrite(data, conn, &nread, &readmore);
if(result)