Explorar o código

* Prevent range check error when compiling with -Cr

git-svn-id: trunk@3470 -
daniel %!s(int64=19) %!d(string=hai) anos
pai
achega
ce3ce89028
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/unix/gensigset.inc

+ 1 - 1
rtl/unix/gensigset.inc

@@ -52,7 +52,7 @@ function fpsigfillset(var nset : tsigset):cint;
 var i :longint;
 
 Begin
-  for i:=0 to wordsinsigset-1 DO nset[i]:=NOT 0;
+  for i:=0 to wordsinsigset-1 DO nset[i]:=high(nset[i]);
   fpsigfillset:=0;
 End;