changeset 12126:2838b01593ed draft

(svn r16542) -Fix [FS#2971](r16307): depend failed on architectures with unsigned char
author smatz <smatz@openttd.org>
date Tue, 09 Jun 2009 13:35:30 +0000
parents dd5b77965bb5
children 98a58fc8be97
files src/depend/depend.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/depend/depend.cpp
+++ b/src/depend/depend.cpp
@@ -92,7 +92,7 @@
 	 */
 	char GetChar() const
 	{
-		char c = fgetc(this->fp);
+		int c = fgetc(this->fp);
 		return (c == EOF) ? '\0' : c;
 	}