Disable range checks explicitly as THandle is unsigned at least for win32 OS

git-svn-id: trunk@34009 -
This commit is contained in:
pierre 2016-06-20 15:26:50 +00:00
parent 5306ee552b
commit 27119cad3c

View File

@ -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+}