]> git.sur5r.net Git - u-boot/blobdiff - net/net.c
Moved initialization of MCFFEC Ethernet driver to CPU directory
[u-boot] / net / net.c
index 2a26bc0dd1d75ff03f22d5bcc0b1681691934c27..313d5d8dab354cbbdc4d32b2f3888a37c11df68f 100644 (file)
--- a/net/net.c
+++ b/net/net.c
@@ -1390,7 +1390,7 @@ NetReceive(volatile uchar * inpkt, int len)
                puts ("Got IP\n");
 #endif
                if (len < IP_HDR_SIZE) {
-                       debug ("len bad %d < %d\n", len, IP_HDR_SIZE);
+                       debug ("len bad %d < %lu\n", len, (ulong)IP_HDR_SIZE);
                        return;
                }
                if (len < ntohs(ip->ip_len)) {