diff --git a/net/tftp.c b/net/tftp.c index b2e08b4bfb3d3daba64328c24e84ecbe9afc6970..59a8ebb3cf339b3c40ff24846c13406e5dc0b9a4 100644 --- a/net/tftp.c +++ b/net/tftp.c @@ -156,7 +156,7 @@ mcast_cleanup(void) #endif /* CONFIG_MCAST_TFTP */ static inline void -store_block(unsigned block, uchar *src, unsigned len) +store_block(int block, uchar *src, unsigned len) { ulong offset = block * TftpBlkSize + TftpBlockWrapOffset; ulong newsize = offset + len;