--- libc/termios/tcgetpgrp.c 2006-01-13 16:58:03.000000000 -0800 +++ /home/nickolai/jos64/pkg/uclibc/libc/termios/tcgetpgrp.c 2007-04-22 19:54:33.000000000 -0700 @@ -27,7 +27,7 @@ /* Return the foreground process group ID of FD. */ pid_t tcgetpgrp (int fd) { - int pgrp; + pid_t pgrp; if (ioctl (fd, TIOCGPGRP, &pgrp) < 0) return (pid_t) -1;