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

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



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.


-- 
                                     Jim Studt, President
                                     The Federated Software Group, Inc.


Reply to: