diff options
author | smatz <smatz@openttd.org> | 2009-06-09 13:35:30 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-06-09 13:35:30 +0000 |
commit | e16314d58f9b792beea906834eab3db3575dd490 (patch) | |
tree | 574c6184379ead9b6c747f1d4efd5154e20fc99f /src | |
parent | 394e405bdd9a3b02437996b72506669951e93d01 (diff) | |
download | openttd-e16314d58f9b792beea906834eab3db3575dd490.tar.xz |
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
Diffstat (limited to 'src')
-rw-r--r-- | src/depend/depend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/depend/depend.cpp b/src/depend/depend.cpp index 9c9f201ad..ce42f1345 100644 --- a/src/depend/depend.cpp +++ b/src/depend/depend.cpp @@ -92,7 +92,7 @@ public: */ char GetChar() const { - char c = fgetc(this->fp); + int c = fgetc(this->fp); return (c == EOF) ? '\0' : c; } |