httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@znep.com>
Subject Re: Agenda for 1.2b7
Date Thu, 06 Feb 1997 13:42:52 GMT
On Thu, 6 Feb 1997, Rodent of Unusual Size wrote:

> >From the fingers of Marc Slemko flowed the following:
> >
> >On Wed, 5 Feb 1997, Dean Gaudet wrote:
> >
> >> >   * 64-bit issues; general cleanup, ap_snprintf("%d", (int)-1) giving
> >> >     wrong behavior on Alpha boxes.
> >> 
> >> I'm still waiting for a description of the error...
> >
> >ap_snprintf(foo, "%d", (int)-1) should give (2^32)-1 on the Alpha, since
> >even though it is 64 bit ints are still 32-bit.  It gives (2^64)-1.
> 
>     I must be missing something.  The above (with a len argument
>     added) gives me the output of "-1" on my Alpha box.  What's wrong
>     with that?

Sorry, mean unsigned int.  something like %u and (unsigned int)...


Mime
View raw message