From: Sergey Poznyakoff Date: Thu, 3 Mar 2005 23:13:30 +0000 (+0000) Subject: (sparse_scan_file): Bugfix. offset had incorrect type. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b320151a23fcbcc07f3bbdadaeec554830eb12fd;p=chaz%2Ftar (sparse_scan_file): Bugfix. offset had incorrect type. --- diff --git a/src/sparse.c b/src/sparse.c index b43f3d7..c8ff6b9 100644 --- a/src/sparse.c +++ b/src/sparse.c @@ -225,7 +225,7 @@ sparse_scan_file (struct tar_sparse_file *file) { static char buffer[BLOCKSIZE]; size_t count; - size_t offset = 0; + off_t offset = 0; struct sp_array sp = {0, 0}; if (!lseek_or_error (file, 0))