瀏覽代碼

* Prevent range check errors on powerpc-linux

git-svn-id: trunk@8126 -
daniel 18 年之前
父節點
當前提交
d51b735deb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/linux/termiosproc.inc

+ 1 - 1
rtl/linux/termiosproc.inc

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