Ver Fonte

corrected disksize and diskfree result type

michael há 25 anos atrás
pai
commit
1d0e074c77
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/sysutils.tex

+ 2 - 2
docs/sysutils.tex

@@ -939,7 +939,7 @@ In case of an error, the function returns \var{False}.
  
 \begin{functionl}{DiskFree}{DiskFreeSys}
 \Declaration
-Function DiskFree(Drive : Byte) : Longint;
+Function DiskFree(Drive : Byte) : Int64;
 \Description
 \var{DiskFree} returns the free space (in bytes) on disk \var{Drive}.
 Drive is the number of the disk drive: 
@@ -967,7 +967,7 @@ On error, \var{-1} is returned.
  
 \begin{functionl}{DiskSize}{DiskSizeSys}
 \Declaration
-Function DiskSize(Drive : Byte) : Longint;
+Function DiskSize(Drive : Byte) : Int64;
 \Description
 \var{DiskSize} returns the size (in bytes) of disk \var{Drive}.
 Drive is the number of the disk drive: