Hello,

I've noticed that a few lines of the library are treating file descriptors as 
short instead of int. I've downloaded the 6.6 tarball, and the affected lines 
are:

ncurses/term.priv.h:143
ncurses/tinfo/lib_setup.c:957ncurses/tinfo/lib_setup.c:1007

You can find them with "grep -rn Filedes | grep short"

The fix would involve changing the type of the variable in term.priv.h to int, 
and removing the two casts to short in lib_setup.c.

Thanks,
Antonio

Reply via email to