aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan2/util.h
diff options
context:
space:
mode:
authorCameron Cawley2019-04-28 14:34:44 +0100
committerPaul Gilbert2019-04-29 16:25:54 +1000
commit17f0937f000a162e43b99f141d7040660a8451c8 (patch)
treebf1034434a062d5fc2da615ca45c928af6ee6c0f /engines/glk/alan2/util.h
parentc05179ee99d099088cb55e93ecdf0bff5ed2ed14 (diff)
downloadscummvm-rg350-17f0937f000a162e43b99f141d7040660a8451c8.tar.gz
scummvm-rg350-17f0937f000a162e43b99f141d7040660a8451c8.tar.bz2
scummvm-rg350-17f0937f000a162e43b99f141d7040660a8451c8.zip
GLK: Fix warnings
Diffstat (limited to 'engines/glk/alan2/util.h')
-rw-r--r--engines/glk/alan2/util.h6
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