mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 14:40:25 +02:00
Disable range checks explicitly as THandle is unsigned at least for win32 OS
git-svn-id: trunk@34009 -
This commit is contained in:
parent
5306ee552b
commit
27119cad3c
@ -1,3 +1,11 @@
|
||||
{ THandle is unsigned at least for win32 OS,
|
||||
this leads to range check errors when fileopen
|
||||
returns invalid handle.
|
||||
Explicitly disable range checks }
|
||||
|
||||
{$R-}
|
||||
|
||||
|
||||
{$ifdef fpc}
|
||||
{$mode objfpc}
|
||||
{$h+}
|
||||
|
Loading…
Reference in New Issue
Block a user