summaryrefslogtreecommitdiff
path: root/UEngines.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2024-11-09 22:18:20 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2024-11-09 22:18:20 +0100
commit7bf34513767bfd63a19fd7c420e8d825e50bf232 (patch)
tree8d9795f596676ac58997528112c7d14d765984a7 /UEngines.pas
parent77bf3f344e58da9484685ef3550e0909a3666d78 (diff)
downloadtuxcmd-7bf34513767bfd63a19fd7c420e8d825e50bf232.tar.xz
Fix ssize_t data type size
Diffstat (limited to 'UEngines.pas')
-rw-r--r--UEngines.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/UEngines.pas b/UEngines.pas
index 8649a05..7a0ccad 100644
--- a/UEngines.pas
+++ b/UEngines.pas
@@ -556,7 +556,8 @@ end;
function TLocalTreeEngine.CopyFileOut(const SourceFile, DestFile: string; Append: boolean; ProgressFunc: TEngineProgressFunc; Sender: Pointer; Error: PPGError): boolean;
var fsrc, fdest: Longint;
Buffer: Pointer;
- BytesDone, BytesRead, BytesWritten, BytesRemaining: ssize_t;
+ BytesDone: Int64;
+ BytesRead, BytesWritten, BytesRemaining: ssize_t;
begin
Result := False;
BytesDone := 0;