]> Dogcows Code - chaz/tar/commitdiff
(sparse_scan_file): Bugfix. offset had incorrect type.
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 3 Mar 2005 23:13:30 +0000 (23:13 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 3 Mar 2005 23:13:30 +0000 (23:13 +0000)
src/sparse.c

index b43f3d78ad4a7b0e30752617d829135dc420c62f..c8ff6b90f656f5c98d4f6a5aa09a474c8d23f86d 100644 (file)
@@ -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))
This page took 0.023478 seconds and 4 git commands to generate.