1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-29 17:39:09 +00:00

(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char

This commit is contained in:
smatz
2009-06-09 13:35:30 +00:00
parent 394e405bdd
commit e16314d58f

View File

@@ -92,7 +92,7 @@ public:
*/ */
char GetChar() const char GetChar() const
{ {
char c = fgetc(this->fp); int c = fgetc(this->fp);
return (c == EOF) ? '\0' : c; return (c == EOF) ? '\0' : c;
} }