Subject: kern/18592: RND code in uhidev.c fails to compile on alpha (LP64 issue)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <fair@clock.org>
List: netbsd-bugs
Date: 10/08/2002 22:09:04
>Number:         18592
>Category:       kern
>Synopsis:       RND code in uhidev.c fails to compile on alpha (LP64 issue)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 08 22:10:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     The Root of all Evil
>Release:        NetBSD-current
>Organization:
	The NetBSD Project
>Environment:
System: NetBSD timex.clock.org 1.6E NetBSD 1.6E (MIATA-GL) #1: Fri Jul 26 17:37:11 PDT 2002 root@timex.clock.org:/usr/obj/sys/arch/alpha/compile/MIATA-GL alpha
Architecture: alpha
Machine: alpha
>Description:
	Code added to uhidev.c to make it a random entropy source
	is not compiling cleanly on alpha.
>How-To-Repeat:
	
cc  -pipe -mcpu=21164a -mno-fp-regs -ffreestanding  -pipe -O2 -mcpu=21164a -Werror -Wall -Wno-main -Wno-format-zero-length -Wpointer-arith -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized  -Dalpha -I.  -I/sys/arch -I/sys -nostdinc -DDIAGNOSTIC -DMAXUSERS=32 -D_KERNEL -D_KERNEL_OPT   -c /sys/dev/usb/uhidev.c
cc1: warnings being treated as errors
/sys/dev/usb/uhidev.c: In function `uhidev_intr':
/sys/dev/usb/uhidev.c:399: warning: cast from pointer to integer of different size
*** Error code 1

Stop.
make: stopped in /usr/obj/sys/arch/alpha/compile/MIATA-GL
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: