Fix some more printf() format issues.

Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
Wolfgang Denk
2008-07-13 23:07:35 +02:00
parent d5996dd555
commit 25dbe98abb
5 changed files with 12 additions and 17 deletions

View File

@@ -1390,7 +1390,7 @@ NetReceive(volatile uchar * inpkt, int len)
puts ("Got IP\n");
#endif
if (len < IP_HDR_SIZE) {
debug ("len bad %d < %ld\n", len, IP_HDR_SIZE);
debug ("len bad %d < %lu\n", len, (ulong)IP_HDR_SIZE);
return;
}
if (len < ntohs(ip->ip_len)) {