summaryrefslogtreecommitdiff
path: root/net/tftp.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2007-11-17 11:31:10 +0100
committerWolfgang Denk <wd@denx.de>2007-11-18 01:29:38 +0100
commit079c2c4fa71c0d1ebef394508df9088df8a308d3 (patch)
treef1d9999650c94b9bdeec8843383b3b49f7cd7a29 /net/tftp.c
parent0b20335015945cc9aedf27356e51aa3a0b0cdc48 (diff)
downloadu-boot-imx-079c2c4fa71c0d1ebef394508df9088df8a308d3.zip
u-boot-imx-079c2c4fa71c0d1ebef394508df9088df8a308d3.tar.gz
u-boot-imx-079c2c4fa71c0d1ebef394508df9088df8a308d3.tar.bz2
Fix warning differ in signedness in net/net.c and net/nfs.c
Diffstat (limited to 'net/tftp.c')
-rw-r--r--net/tftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tftp.c b/net/tftp.c
index 5ee7676..8b95bcf 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -15,7 +15,7 @@
#if defined(CONFIG_CMD_NET)
#define WELL_KNOWN_PORT 69 /* Well known TFTP port # */
-#define TIMEOUT 5 /* Seconds to timeout for a lost pkt */
+#define TIMEOUT 5UL /* Seconds to timeout for a lost pkt */
#ifndef CONFIG_NET_RETRY_COUNT
# define TIMEOUT_COUNT 10 /* # of timeouts before giving up */
#else