On Tue, Jul 19, 2005 at 08:22:23AM -0400, Geoffrey Young wrote:
> Joe Orton wrote:
> > The APR base64 encode/decode functions expect unsigned char * arguments 
> > for the raw binary input/output buffers. gcc 4.x now warns for pointer 
> > signedness mismatches like this; casting is really the only way.
> > (alternatively, if you dislike this, the warning can be turned off)
> 
> well, most of us like to build with -Werror so we keep the source as clean
> as possible, so I'd favor fixing the warning rather than simply ignoring it.

Oh yeah, I meant just adding -Wno-pointer-sign to turn off the warning.  
It's not really a useful warning in any case that I know of so there's a 
reasonable argument that the cure (silly casts) is worse than disease.

> > Also the mpxs_APR__Base64_encode_len looks rather wrong; fixed below.
> 
> great, thanks, applied.

Thanks Geoff.

joe

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to