Fix EOF detection in PGN parser
authorH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 24 Apr 2016 19:10:06 +0000 (21:10 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 8 May 2016 12:06:34 +0000 (14:06 +0200)
commit519b36a5466171cac4d7c547836dbc17081dc53b
treeb5208d923d98d89c963b21c081c03f3e5ac9c0de
parent5dfa0c9055904ec0c8d34439f7f2eaa835bb783c
Fix EOF detection in PGN parser

The result of fgetc was stored in a (char) before comparing it with EOF,
which fails badly if the char is not signed.
parser.c