aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/alan3/instance.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2019-06-26 18:36:34 -0700
committerPaul Gilbert2019-07-06 15:27:07 -0700
commit305330bda7e755f141805a4e0e45f74820e980e1 (patch)
treedce4cb9da47a334b5942b582497ea249e7659bda /engines/glk/alan3/instance.cpp
parent822cd6f16564a4fbb3436600894c144bf9e160d6 (diff)
downloadscummvm-rg350-305330bda7e755f141805a4e0e45f74820e980e1.tar.gz
scummvm-rg350-305330bda7e755f141805a4e0e45f74820e980e1.tar.bz2
scummvm-rg350-305330bda7e755f141805a4e0e45f74820e980e1.zip
GLK: ALAN3: Change EOF to a uint32 EOD to fix compiler warnings
Diffstat (limited to 'engines/glk/alan3/instance.cpp')
-rw-r--r--engines/glk/alan3/instance.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/alan3/instance.cpp b/engines/glk/alan3/instance.cpp
index 761c74a4b4..a761b5603d 100644
--- a/engines/glk/alan3/instance.cpp
+++ b/engines/glk/alan3/instance.cpp
@@ -161,7 +161,7 @@ static Aptr literalAttribute(int literal, int attribute)
else
return getAttribute(admin[header->instanceMax].attributes, attribute);
}
- return(EOF);
+ return(EOD);
}
@@ -183,7 +183,7 @@ Aptr getInstanceAttribute(int instance, int attribute)
syserr(str);
}
}
- return(EOF);
+ return(EOD);
}
@@ -462,10 +462,10 @@ void sayInstance(int instance)
/* Find the id in the parameters... */
if (params != NULL)
- for (p = 0; params[p].code != EOF; p++)
+ for (p = 0; params[p].code != EOD; p++)
if (params[p].code == instance) {
/* Found it so.. */
- if (params[p].firstWord == EOF) /* Any words he used? */
+ if (params[p].firstWord == EOD) /* Any words he used? */
break; /* No... */
else { /* Yes, so use them... */
char *capitalized;