diff options
author | Paul Gilbert | 2019-06-25 22:37:19 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-07-06 15:27:07 -0700 |
commit | 822cd6f16564a4fbb3436600894c144bf9e160d6 (patch) | |
tree | 876058f5583b98c9458c79b866b0b61746c5c380 /engines/glk/alan3/inter.cpp | |
parent | cd7cf4141425e3e77b164d2dbcbae8de1eacb035 (diff) | |
download | scummvm-rg350-822cd6f16564a4fbb3436600894c144bf9e160d6.tar.gz scummvm-rg350-822cd6f16564a4fbb3436600894c144bf9e160d6.tar.bz2 scummvm-rg350-822cd6f16564a4fbb3436600894c144bf9e160d6.zip |
GLK: ALAN3: Further warning fixes
Diffstat (limited to 'engines/glk/alan3/inter.cpp')
-rw-r--r-- | engines/glk/alan3/inter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/glk/alan3/inter.cpp b/engines/glk/alan3/inter.cpp index 56f696658d..e4e98fd81c 100644 --- a/engines/glk/alan3/inter.cpp +++ b/engines/glk/alan3/inter.cpp @@ -975,10 +975,10 @@ void interpret(Aaddr adr) break; } case I_SAYSTR: { - Aptr adr = pop(stack); + Aptr sayAddr = pop(stack); if (traceInstructionOption) - printf("SAYSTR\t%7ld\t\ty\t", (long)adr); - sayString((char *)fromAptr(adr)); + printf("SAYSTR\t%7ld\t\ty\t", (long)sayAddr); + sayString((char *)fromAptr(sayAddr)); if (traceInstructionOption) printf("\n\t\t\t\t\t\t"); break; |