Herold Heiko <[EMAIL PROTECTED]> writes:
>> > http.c(503) : warning C4090: 'function' : different 'const'
>> > qualifiers
>> [...]
>>
>> I don't quite understand these warnings. Did they occur before?
>
> Definitively, I trie with a rev from March 2004, same warnings.
Then we can ignore them for now.
>> I don't quite know what to make of this. Any ideas?
>
> The problem was introduced with the large file patch.
Maybe the compiler doesn't handler complex __int64 expressions
correctly. You could try to play with simplifying line 261 of retr.c
(which it apparently fails on). For example, you could change this:
int rdsize = exact ? MIN (toread - sum_read, dlbufsize) : dlbufsize;
to something like:
int rdsize;
if (exact)
rdsize = MIN (toread - sum_read, dlbufsize);
else
rdsize = dlbufsize;
or even:
int rdsize;
if (exact)
rdsize = (int) MIN (toread - sum_read, (wgint) dlbufsize);
else
rdsize = dlbufsize;
> I tried to reverse stuff, as for retr.c by changing wgint back to
> long
That won't help because the routines in retr.c will get incorrect
types in run-time.