mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[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:
committed by
Michael Brown
parent
905ea56753
commit
7c6d3752c9
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user