OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ch_pipe.c versions 1.25 and 1.26
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ch_pipe.c 1.25 -> 1.26

--- l2_ch_pipe.c 2001/10/04 12:53:54     1.25
+++ l2_ch_pipe.c 2001/10/30 18:56:13     1.26
@@ -62,7 +62,7 @@
 
     if (sig == SIGCHLD) {
         TRACE("SIGCHLD caught");
-        Pid = waitpid(-1, &iStatus, WUNTRACED | WNOHANG);
+        Pid = waitpid((pid_t)-1, &iStatus, WUNTRACED | WNOHANG);
         if (WIFEXITED(iStatus))
             TRACE("EXITED child");     /* child finished and returned       */
         else if (WIFSIGNALED(iStatus))

CVSTrac 2.0.1