From 7c6d3752c966758b0fb369d73bae59909aaa9ec1 Mon Sep 17 00:00:00 2001 From: Piotr Jaroszyński Date: Tue, 30 Mar 2010 15:33:20 +0200 Subject: [compiler] Fix 64bit compile time errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Joshua Oreman Signed-off-by: Michael Brown --- src/drivers/net/eepro100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/net/eepro100.c') diff --git a/src/drivers/net/eepro100.c b/src/drivers/net/eepro100.c index add17a6d3..3fb981be4 100644 --- a/src/drivers/net/eepro100.c +++ b/src/drivers/net/eepro100.c @@ -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; -- cgit