diff options
author | Paul Gilbert | 2019-07-06 17:02:26 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 17:02:26 -0700 |
commit | 3b9547edde674d3517a60ec8189a063bfb6a4d13 (patch) | |
tree | f4f6049f42c6e96d653bc8aa8ee9a816b98ab1f4 /engines/glk/tads/tads2/qa_scriptor.cpp | |
parent | f282fbb49bf941c5b8ac1a2dd0b26a4a63978060 (diff) | |
download | scummvm-rg350-3b9547edde674d3517a60ec8189a063bfb6a4d13.tar.gz scummvm-rg350-3b9547edde674d3517a60ec8189a063bfb6a4d13.tar.bz2 scummvm-rg350-3b9547edde674d3517a60ec8189a063bfb6a4d13.zip |
GLK: Fix various gcc warnings
Diffstat (limited to 'engines/glk/tads/tads2/qa_scriptor.cpp')
-rw-r--r-- | engines/glk/tads/tads2/qa_scriptor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/glk/tads/tads2/qa_scriptor.cpp b/engines/glk/tads/tads2/qa_scriptor.cpp index ec4e770322..bb235d52d2 100644 --- a/engines/glk/tads/tads2/qa_scriptor.cpp +++ b/engines/glk/tads/tads2/qa_scriptor.cpp @@ -105,9 +105,7 @@ char *qasgets(char *buf, int bufl) { /* return the command */ return buf; } - } - else if (c == EOF ) - { + } else if ((int)c == EOF) { /* end of file - close the script and return eof */ qasclose(); return 0; |