diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-06-08 10:36:06 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-06-08 10:36:06 +0200 |
commit | b3d7161642ae1af0697ed9c30efbe36eed4da7f9 (patch) | |
tree | da07b2787750eadb27e60d6eea6ed172034d5b23 /lib | |
parent | 3b47d231ac0e961cd84c0563d353fb6b59398bf9 (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c index 191d3dc19..41bf2fe11 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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) |