[Bug 1759] New: getc returns 0x000000FF instead of 0xFFFFFFFF (-1) for EOF