| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: MSVC 6 warnings related to curl_off_t
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 9 Apr 2004 11:17:10 +0200 (CEST)
On Thu, 8 Apr 2004, David Byron wrote:
> I'm building main.c (1.252) with MSVC 6 and I'm getting the following
[snip]
> Looks like we're half way through a change to curl_off_t in some places.
Yes. I needed to change to curl_off_t to allow --limit-rate to use really high
> This is not so hard to resolve, but there are enough choices here that I
go_sleep() can indeed be changed, but my_fread() cannot. The latter is a
> Only problem is, fread wants a size_t where we'd pass it a curl_off_t.
fread() only takes a size_t so we must be sure we pass such a type.
> Same for Sleep(). The sleep is pretty easy -- if the number is too big,
Yes, that same limit goes for the whole go_sleep() as none of the involved
> In the end, some casting may be enough. I'm not sure I can justify it
Yes, I modified it to that just a few days ago to allow "--limit-rate 3G" etc.
--
Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-09
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info