diff --git a/src/scripts.cc b/src/scripts.cc index 39a2cc4..17ee020 100644 --- a/src/scripts.cc +++ b/src/scripts.cc @@ -1726,7 +1726,7 @@ static int _scr_header_load() } while (1) { - char ch = fileReadChar(stream); + int ch = fileReadChar(stream); if (ch == -1) { break; }