diff options
author | Eric Andersen | 2001-04-05 23:07:25 +0000 |
---|---|---|
committer | Eric Andersen | 2001-04-05 23:07:25 +0000 |
commit | 83f173b61ec4df708d6ead45540ede3a28c2e630 (patch) | |
tree | c1986321291c7ac619748f051f3d716bc89f46da /libbb | |
parent | c270ec1fa27e998d6d22bb43c3839789f8af4ba8 (diff) | |
download | busybox-83f173b61ec4df708d6ead45540ede3a28c2e630.zip busybox-83f173b61ec4df708d6ead45540ede3a28c2e630.tar.gz |
A first pass at making D_FILE_OFFSET_BITS=64 work, from
Jari Ruusu <jari.ruusu@pp.inet.fi>
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/copy_file_chunk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/copy_file_chunk.c b/libbb/copy_file_chunk.c index 3c657dd..bf0b06e 100644 --- a/libbb/copy_file_chunk.c +++ b/libbb/copy_file_chunk.c @@ -32,9 +32,9 @@ /* * Copy chunksize bytes between two file descriptors */ -int copy_file_chunk(int srcfd, int dstfd, size_t chunksize) +int copy_file_chunk(int srcfd, int dstfd, off_t chunksize) { - size_t size; + off_t size; char buffer[BUFSIZ]; /* BUFSIZ is declared in stdio.h */ while (chunksize > 0) { |