Explorar o código

* fix for range check error during compilation

git-svn-id: trunk@1088 -
Tomas Hajny %!s(int64=20) %!d(string=hai) anos
pai
achega
86e2b7f402
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/os2/sysutils.pp

+ 1 - 1
rtl/os2/sysutils.pp

@@ -568,7 +568,7 @@ var SR: PSearchRec;
 
 begin
   New (FStat);
-  Rslt.FindHandle := $FFFFFFFF;
+  Rslt.FindHandle := THandle ($FFFFFFFF);
   Count := 1;
   Err := DosFindFirst (PChar (Path), Rslt.FindHandle,
             Attr and FindResvdMask, FStat, SizeOf (FStat^), Count, ilStandard);