소스 검색

(sparse_scan_file): Bugfix. offset had incorrect type.

Sergey Poznyakoff 20 년 전
부모
커밋
b320151a23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/sparse.c

+ 1 - 1
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))