msvcrt.getchar returns an int