[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#53716: Fails on machines where chars are unsigned.



On Wed, Dec 29, 1999 at 08:31:05PM -0600, Jim Studt wrote:
> Package: xpuzzles
> Version: 5.4.4-4
> 
> There are about 67 occurences of the line...
> 	while ((c = getc(fp)) != EOF && c != SYMBOL);
> ... where c is a char.
> 
> On architectures where char is unsigned (definately ARM and maybe PPC)
> this comparison fails because the int from getc has been reduced to
> an unsigned char which will never equal EOF.

Why is char unsigned on these platforms?


Hamish
-- 
Hamish Moffatt VK3SB. CCs of replies on mailing lists are welcome.


Reply to: