eliminate compiler warnings found by gcc on Cygwin
pass ints to ctype functions