2
0
Эх сурвалжийг харах

* filepos are int64

git-svn-id: trunk@43859 -
marco 5 жил өмнө
parent
commit
51c31d1005

+ 2 - 1
packages/libtar/src/libtar.pp

@@ -1,3 +1,4 @@
+
 (**
 (**
  Copyright (c) 2000-2010 by Stefan Heymann
  Copyright (c) 2000-2010 by Stefan Heymann
 
 
@@ -600,7 +601,7 @@ FUNCTION  TTarArchive.FindNext (VAR DirRec : TTarDirRec) : BOOLEAN;
           // The Stream pointer must point to the first byte of the tar header
           // The Stream pointer must point to the first byte of the tar header
 VAR
 VAR
   Rec          : ARRAY [0..RECORDSIZE-1] OF CHAR;
   Rec          : ARRAY [0..RECORDSIZE-1] OF CHAR;
-  CurFilePos   : INTEGER;
+  CurFilePos   : int64;
   Header       : TTarHeader ABSOLUTE Rec;
   Header       : TTarHeader ABSOLUTE Rec;
   I            : INTEGER;
   I            : INTEGER;
   HeaderChkSum : WORD;
   HeaderChkSum : WORD;