Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: syssrc
On 6 May 2000, Chris G. Demetriou wrote:
> abs%netbsd.org@localhost (David Brownlee) writes:
> > > Log Message:
> > > LP64 printf fix. (I wish size_t was unsigned long on all platforms).
> >
> > Is there any standard that says it can't be? It is on at least one
> > ILP32 platform (sparc).
>
> it probably could.
>
> however, look at it this way: the way it is now encourages better
> (more portable) programming practices.
>
Only when you have access to both types of host... :)
> i don't think there's any real benefit in changing it; well-written,
> portable code will compile without warnings if written properly.
I suppose the ideal type would be sizeof ulong, but would
_always_ require casting in printf() and friends :)
David/absolute
-- www.netbsd.org: No hype required --
Home |
Main Index |
Thread Index |
Old Index