Subject: Re: CVS commit: src/common/lib/libprop
To: None <he@netbsd.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: source-changes
Date: 10/19/2006 08:32:44
On Oct 19, 2006, at 3:10 AM, Havard Eidnes wrote:

>
> Module Name:	src
> Committed By:	he
> Date:		Thu Oct 19 10:10:35 UTC 2006
>
> Modified Files:
> 	src/common/lib/libprop: prop_object.c
>
> Log Message:
> sysconf() returns long, which isn't neccessarily assignment-compatible
> with size_t, as evidenced by sh5, so add an explicit cast.

The sh5 port is wrong.  It should be unsigned long in both the LP64  
and the ILP32 case.  E.g. sparc/sparc64 does this.

-- thorpej