summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-06-09 13:35:30 +0000
committersmatz <smatz@openttd.org>2009-06-09 13:35:30 +0000
commite16314d58f9b792beea906834eab3db3575dd490 (patch)
tree574c6184379ead9b6c747f1d4efd5154e20fc99f
parent394e405bdd9a3b02437996b72506669951e93d01 (diff)
downloadopenttd-e16314d58f9b792beea906834eab3db3575dd490.tar.xz
(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
-rw-r--r--src/depend/depend.cpp2
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;
}