mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 17:47:56 +02:00
* Remove typedness of feinvalidhandle constant to straight constant with typecast in rvalue. mantis #37358
Reasons for original construct unclear and probably historic, added by oro in 2006 as feinvalidhandle : Thandle =-1 and then modified by Jonas for unsigned thandle types in 2007 to feinvalidhandle : Thandle =thandle(-1). git-svn-id: trunk@45790 -
This commit is contained in:
parent
37129e44bc
commit
9cae1830e2
@ -162,7 +162,7 @@ Const
|
||||
fsFromEnd = 2;
|
||||
|
||||
{ File errors }
|
||||
feInvalidHandle : THandle = THandle(-1); //return value on FileOpen error
|
||||
feInvalidHandle = THandle(-1); //return value on FileOpen error
|
||||
|
||||
Type
|
||||
TFileSearchOption = (sfoImplicitCurrentDir,sfoStripQuotes);
|
||||
|
Loading…
Reference in New Issue
Block a user