mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 00:39:34 +02:00
* added THandle() typecast around feInvalidHandle value (-1)
for OS'es where THandle is an unsigned type git-svn-id: trunk@6322 -
This commit is contained in:
parent
8d33f640d4
commit
ccbee142bc
@ -69,7 +69,7 @@ Const
|
||||
fsFromEnd = 2;
|
||||
|
||||
{ File errors }
|
||||
feInvalidHandle : THandle = -1; //return value on FileOpen error
|
||||
feInvalidHandle : THandle = THandle(-1); //return value on FileOpen error
|
||||
|
||||
Function FileOpen (Const FileName : string; Mode : Integer) : THandle;
|
||||
Function FileCreate (Const FileName : String) : THandle;
|
||||
|
Loading…
Reference in New Issue
Block a user