Browse Source

* fixed range error

git-svn-id: trunk@2647 -
Jonas Maebe 19 years ago
parent
commit
2c46fe0790
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rtl/darwin/termiosproc.inc

+ 1 - 1
rtl/darwin/termiosproc.inc

@@ -25,7 +25,7 @@ end;
 
 
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 Function TCSetAttr(fd:cint;OptAct:cint;const tios:TermIOS):cint;
 var
 var
-  nr:cint;
+  nr:culong;
 begin
 begin
   case OptAct of
   case OptAct of
    TCSANOW   : nr:=TIOCSETA;
    TCSANOW   : nr:=TIOCSETA;