X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fsparse.c;h=c8ff6b90f656f5c98d4f6a5aa09a474c8d23f86d;hb=263604c2ec4703cc7381899b3ad015b79f6d0d41;hp=b43f3d78ad4a7b0e30752617d829135dc420c62f;hpb=198596f161a5b9e5dd87f34a5268d8c7bd05d436;p=chaz%2Ftar 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))