--- busybox-1.3.1/networking/ftpgetput.c.orig 2006-12-27 05:52:39.000000000 +0100 +++ busybox-1.3.1/networking/ftpgetput.c 2006-12-30 12:52:37.368206690 +0100 @@ -218,7 +218,7 @@ fd_local = xopen(local_path, O_RDONLY); fstat(fd_local, &sbuf); - sprintf(buf, "ALLO %lu", (unsigned long)sbuf.st_size); + sprintf(buf, "ALLO %"OFF_FMT"u", sbuf.st_size); response = ftpcmd(buf, NULL, control_stream, buf); switch (response) { case 200: