mirror of https://github.com/OpenTTD/OpenTTD
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
parent
394e405bdd
commit
e16314d58f
|
@ -92,7 +92,7 @@ public:
|
|||
*/
|
||||
char GetChar() const
|
||||
{
|
||||
char c = fgetc(this->fp);
|
||||
int c = fgetc(this->fp);
|
||||
return (c == EOF) ? '\0' : c;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue