changeset 1930:4f6bcb240e17

* src/net/eth_drv.c (eth_drv_send): Fixed a compiler warning about type of parameter passed to diag_printf.
author asl
date Sun, 27 Mar 2005 17:36:59 +0000
parents 8b0de8223f33
children ae242bae5abc
files packages/io/eth/current/ChangeLog packages/io/eth/current/src/net/eth_drv.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/io/eth/current/ChangeLog
+++ b/packages/io/eth/current/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-27  Andrew Lunn  <andrew.lunn@ascom.ch>
+
+	* src/net/eth_drv.c (eth_drv_send): Fixed a compiler warning about type of
+	parameter passed to diag_printf.
+
 2004-08-06  Jani Monoses <jani@iv.ro>
 
 	* src/stand_alone/eth_drv.c: Add parantheses to fix operator
--- a/packages/io/eth/current/src/net/eth_drv.c
+++ b/packages/io/eth/current/src/net/eth_drv.c
@@ -697,7 +697,7 @@ eth_drv_send(struct ifnet *ifp)
 #ifdef CYGDBG_IO_ETH_DRIVERS_DEBUG
             if (cyg_io_eth_net_debug) {
                 START_CONSOLE();
-                diag_printf("xmit %d bytes at %x sg[%d]\n", len, data, sg_len);
+                diag_printf("xmit %d bytes at %p sg[%d]\n", len, data, sg_len);
                 if ( cyg_io_eth_net_debug > 1)
                     diag_dump_buf(data, len);
                 END_CONSOLE();