summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}