diff options
Diffstat (limited to 'engines/glk/alan2/util.h')
-rw-r--r-- | engines/glk/alan2/util.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan2/util.h b/engines/glk/alan2/util.h index 73d65e2b30..5ea14106bd 100644 --- a/engines/glk/alan2/util.h +++ b/engines/glk/alan2/util.h @@ -69,17 +69,17 @@ inline bool isLit(Aword x) { inline bool endOfTable(LimElem *addr) { Aword *x = (Aword *)addr; - return *x == EOF; + return *x == (Aword)EOF; } inline bool endOfTable(ScrElem *addr) { Aword *x = (Aword *)addr; - return *x == EOF; + return *x == (Aword)EOF; } inline bool endOfTable(ExtElem *addr) { Aword *x = (Aword *)addr; - return *x == EOF; + return *x == (Aword)EOF; } } // End of namespace Alan2 |