Subject: Re: CVS commit: syssrc
To: Chris G. Demetriou <cgd@sibyte.com>
From: David Brownlee <abs@netbsd.org>
List: source-changes
Date: 05/06/2000 23:40:47
On 6 May 2000, Chris G. Demetriou wrote:

> abs@netbsd.org (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 --