curl-library
Re: PATCH/RFC: Add option to compile with -Werror, fix build on 64-bit Linux.
From: Ben Greear <greearb_at_candelatech.com>
Date: Sat, 27 Mar 2010 23:52:50 -0700
Date: Sat, 27 Mar 2010 23:52:50 -0700
On 03/27/2010 11:15 AM, Daniel Stenberg wrote:
> I also think a few of the typecasts you did could rather be fixed by
> changing the prototypes to avoid the typecast. Examples: the 'err'
> variable in lib/ssh.c should rather be an unsigned long instead of an
Several other places assume that it is a signed int, including a place that
assigns -1 to it, so I left the explicit casts the way I had them.
Thanks,
Ben
-- Ben Greear <greearb_at_candelatech.com> Candela Technologies Inc http://www.candelatech.com ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-03-28