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
@@ -448,7 +448,7 @@ static int ifec_net_transmit ( struct net_device *netdev,
|
||||
return -ENOBUFS;
|
||||
}
|
||||
|
||||
DBG2 ( "transmitting packet (%d bytes). status = %hX, cmd=%hX\n",
|
||||
DBG2 ( "transmitting packet (%zd bytes). status = %hX, cmd=%hX\n",
|
||||
iob_len ( iobuf ), tcb->status, inw ( ioaddr + SCBCmd ) );
|
||||
|
||||
tcb->command = CmdSuspend | CmdTx | CmdTxFlex;
|
||||
|
||||
Reference in New Issue
Block a user