2
0
Эх сурвалжийг харах

Add explicit typecast to avoid range ccheck error

git-svn-id: trunk@40002 -
pierre 7 жил өмнө
parent
commit
044c835197

+ 1 - 1
rtl/linux/termiosproc.inc

@@ -68,7 +68,7 @@ end;
 
 Function TCSetPGrp(fd,id:cint):cint;  inline;
 begin
-  TCSetPGrp:=fpIOCtl(fd,TIOCSPGRP,pointer(ptrint(id)));
+  TCSetPGrp:=fpIOCtl(fd,TIOCtlRequest(TIOCSPGRP),pointer(ptrint(id)));
 end;