Subject: 2.0.2 kernel doesn't compile on LP64
To: None <netbsd-bugs@netbsd.org>
From: Dieter <netbsd@sopwith.solgatos.com>
List: netbsd-bugs
Date: 06/10/2005 21:03:26
Ints, longs, and pointers aren't always the same size.

Suggested fixes:

===================================================================
RCS file: dev/ieee1394/RCS/fwohci.c,v
retrieving revision 1.1
diff -r1.1 dev/ieee1394/fwohci.c
4753c4753
< 			printf("fwohci_ir_buf_setup: desc %d %p buf %08x"
---
> 			printf("fwohci_ir_buf_setup: desc %ld %p buf %08x"



===================================================================
RCS file: dev/std/RCS/ieee1212.c,v
retrieving revision 1.1
diff -r1.1 dev/std/ieee1212.c
601c601
< 						    "offset 0x%0x\n",
---
> 						    "offset 0x%0lx\n",
790c790
< 			    "isn't valid at offset 0x%0x\n",
---
> 			    "isn't valid at offset 0x%0lx\n",