mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 18:46:01 +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;
|
fsFromEnd = 2;
|
||||||
|
|
||||||
{ File errors }
|
{ 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 FileOpen (Const FileName : string; Mode : Integer) : THandle;
|
||||||
Function FileCreate (Const FileName : String) : THandle;
|
Function FileCreate (Const FileName : String) : THandle;
|
||||||
|
Loading…
Reference in New Issue
Block a user