]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/tftp.c
Fix warning differ in signedness in net/net.c and net/nfs.c
[karo-tx-uboot.git] / net / tftp.c
index 5ee7676466925cafcdde9a8eee38f7a4b13282f5..8b95bcfec49fbad572ea0b34831b27b926bf7df5 100644 (file)
@@ -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