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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user