curl-library
Re: the example in src package didn't work! can anybody tell
From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 16 Oct 2007 20:33:32 -0700
Date: Tue, 16 Oct 2007 20:33:32 -0700
On Wed, Oct 17, 2007 at 09:52:10AM +0800, gjs0064114 wrote:
> I get known the reason.
>
> at the line in the example , if I alter "(curl_off_t)file_info.st_size"
> with a local "long long int" variable , it will work well!
>
> I think something internal wrong with "..." type parameter .
Is file_info.st_size really a long long type? If not, then you need to
cast it (as documented in the man page). It's not the ... operator that's
wrong--that's how it's designed to work.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-10-17