Subject: Re: build failed for /usr/src/lib/libpcap/gencode
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 07/05/1999 18:18:29
In article <17291.931178160@coconut.itojun.org>,  <itojun@iijlab.net> wrote:
>
>	Does the attached patch fix this?
>	Is return type of sizeof long on sparc?

It is unsigned long; and you should be preserving the sign when you cast
(i.e. cast to unsigned long).

christos