netxen: fix warnings
authorRalf Baechle <ralf@linux-mips.org>
Tue, 6 Mar 2007 20:35:37 +0000 (20:35 +0000)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Mar 2007 16:47:19 +0000 (11:47 -0500)
commitb8d095d782fa1e97d5dc05c08ba32c8eb28b85e4
tree18b33cf191513e2bf592918fb63bac98042f668c
parente84df485c8e059bc9d8d0691ae6a3deafa1f9350
netxen: fix warnings

  CC [M]  drivers/net/netxen/netxen_nic_hw.o
drivers/net/netxen/netxen_nic_hw.c: In function 'netxen_nic_hw_resources':
drivers/net/netxen/netxen_nic_hw.c:231: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'
drivers/net/netxen/netxen_nic_hw.c:250: warning: format '%llx' expects type 'long long unsigned int', but argument 2 has type 'dma_addr_t'

u64 is unsigned long so the cast to u64 will result in a warning on the
printf arguments for 64-bit builds.  So cast to unsigned long long instead.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/netxen/netxen_nic_hw.c