[compiler] Fix 64bit compile time errors

Apart from format specifier fixes there are two changes in proper code:
- Change type of regs in skge_hw to unsigned long
- Cast result of sizeof in myri10ge to uint32_t

Both don't change anything for i386 and should be fine on x86_64.

Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com>
Signed-off-by: Joshua Oreman <oremanj@rwcr.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Piotr Jaroszyński
2010-03-30 15:33:20 +02:00
committed by Michael Brown
parent 905ea56753
commit 7c6d3752c9
6 changed files with 12 additions and 12 deletions

View File

@@ -2461,7 +2461,7 @@ struct skge_ring {
struct skge_hw {
u32 regs;
unsigned long regs;
struct pci_device *pdev;
u32 intr_mask;
struct net_device *dev[2];