diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2024-11-09 22:18:20 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2024-11-09 22:18:20 +0100 |
| commit | 7bf34513767bfd63a19fd7c420e8d825e50bf232 (patch) | |
| tree | 8d9795f596676ac58997528112c7d14d765984a7 /UEngines.pas | |
| parent | 77bf3f344e58da9484685ef3550e0909a3666d78 (diff) | |
| download | tuxcmd-7bf34513767bfd63a19fd7c420e8d825e50bf232.tar.xz | |
Fix ssize_t data type size
Diffstat (limited to 'UEngines.pas')
| -rw-r--r-- | UEngines.pas | 3 |
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; |
