From 4767502117153ce4dd87b13f6e814faf940f51ca Mon Sep 17 00:00:00 2001 From: andersen Date: Thu, 5 Apr 2001 23:07:25 +0000 Subject: A first pass at making D_FILE_OFFSET_BITS=64 work, from Jari Ruusu git-svn-id: svn://busybox.net/trunk/busybox@2266 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/copy_file_chunk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/copy_file_chunk.c b/libbb/copy_file_chunk.c index 3c657dd06..bf0b06e1a 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) { -- cgit v1.2.3-55-g6feb