The number 0xff is a legal return value from getc(), and is different from -1. Therefore, c in (c = getc(file)) should be int. -- Ken Turkowski @ CADLINC, Palo Alto, CA UUCP: {amd70,decwrl,flairvax}!turtlevax!ken