Bug#824910: Fix hanging on platforms with unsigned char
holger at hoicher.de
holger at hoicher.de
Sat May 21 07:08:50 UTC 2016
Package: fairymax
Version: 4.8v-1
Severity: important
Tags: patch, fixed-upstream
Fairymax is currently unusable on platforms with unsigned char.
(Reproduced on armhf and armel.)
Upstream commit acdf13db...
When fgetc is assigned to a char, the code for EOF is clipped, and
not recognized in a comparison when it is not sign-extended. Using an
int (as should have been done in the first place to make the recognition
of EOF unique) now solves this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fairymax-uchar.diff
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20160521/eee99c6a/attachment-0001.bin>
More information about the Pkg-games-devel
mailing list