Subject: Re: CVS commit: basesrc
To: Todd Vierling <tv@wasabisystems.com>
From: Greg A. Woods <woods@weird.com>
List: source-changes
Date: 10/18/2000 11:00:18
[ On Tuesday, October 17, 2000 at 20:46:57 (-0400), Todd Vierling wrote: ]
> Subject: Re: CVS commit: basesrc
>
> On Wed, 18 Oct 2000, Christos Zoulas wrote:
>
> : > Log Message:
> : > Pullup 1.5 [he]:
> : > The type of sizeof() can be u_long, so cast to that and print with %ld.
> :
> : that should be %uld.
>
> You mean %lu.
>
> Yes, we know. Actuially, these will be `fixed' with just `long' (not
> `u_long') and re-pulled-up; however, this does fix the word-sizing problem
> as it stands now.
Ah, no, the correct type of `sizeof()' is *always* `size_t' is always
and *unsigned* integer value.
--
Greg A. Woods
+1 416 218-0098 VE3TCP <gwoods@acm.org> <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>