x86: Make calculate_relocation_address an overridable function
[platform/kernel/u-boot.git] / net / tftp.c
index b2e08b4..59a8ebb 100644 (file)
@@ -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;