Make 'grep -l' work
[oweals/busybox.git] / libbb / copy_file_chunk.c
index 3c657dd069ff0c853ecdbdeecca3281d74291d0c..bf0b06e1a89fe6a0c6e1204ca8ed58082e88cfa2 100644 (file)
@@ -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) {