aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/processor_screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/glk/frotz/processor_screen.cpp')
-rw-r--r--engines/glk/frotz/processor_screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/frotz/processor_screen.cpp b/engines/glk/frotz/processor_screen.cpp
index 41932f53f8..2cc9080804 100644
--- a/engines/glk/frotz/processor_screen.cpp
+++ b/engines/glk/frotz/processor_screen.cpp
@@ -193,7 +193,7 @@ void Processor::erase_screen(zword win) {
int curr_fg = _wp[1][TRUE_FG_COLOR];
int curr_bg = _wp[1][TRUE_BG_COLOR];
- if (win == -1) {
+ if ((short)win == -1) {
if (_wp._upper) {
glk_set_window(_wp._upper);
#ifdef GARGLK