diff options
author | Eugene Sandulenko | 2019-09-03 21:07:34 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 21:08:13 +0200 |
commit | 8ec8b5fc7d60df0f57883dd819d3db0f6626d8d2 (patch) | |
tree | 84f40098b18525931e34de0c9ae5e4eb9f7e2fcb /engines/glk/tads | |
parent | ba48493f8cc8852279582893e2070d8e90955999 (diff) | |
download | scummvm-rg350-8ec8b5fc7d60df0f57883dd819d3db0f6626d8d2.tar.gz scummvm-rg350-8ec8b5fc7d60df0f57883dd819d3db0f6626d8d2.tar.bz2 scummvm-rg350-8ec8b5fc7d60df0f57883dd819d3db0f6626d8d2.zip |
GLK: Fix compilation
Diffstat (limited to 'engines/glk/tads')
-rw-r--r-- | engines/glk/tads/tads2/tokenizer.cpp | 2 | ||||
-rw-r--r-- | engines/glk/tads/tads2/tokenizer.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/glk/tads/tads2/tokenizer.cpp b/engines/glk/tads/tads2/tokenizer.cpp index 85bba24ce2..b41846923d 100644 --- a/engines/glk/tads/tads2/tokenizer.cpp +++ b/engines/glk/tads/tads2/tokenizer.cpp @@ -219,7 +219,7 @@ void tok_add_define_cvtcase(tokcxdef *ctx, const char *sym, int len, /* add a symbol to the #define symbol table */ void tok_add_define(tokcxdef *ctx, const char *sym, int len, - char *expan, int explen) + const char *expan, int explen) { int hsh; tokdfdef *df; diff --git a/engines/glk/tads/tads2/tokenizer.h b/engines/glk/tads/tads2/tokenizer.h index 882ab9242c..d196540799 100644 --- a/engines/glk/tads/tads2/tokenizer.h +++ b/engines/glk/tads/tads2/tokenizer.h @@ -436,11 +436,11 @@ void tok_add_define(tokcxdef *ctx, const char *sym, int len, * add a symbol to the #define symbol table, folding case if we're * operating in case-insensitive mode */ -void tok_add_define_cvtcase(tokcxdef *ctx, char *sym, int len, - char *expan, int explen); +void tok_add_define_cvtcase(tokcxdef *ctx, const char *sym, int len, + const char *expan, int explen); /* add a symbol to the #define symbol table as a number */ -void tok_add_define_num_cvtcase(tokcxdef *ctx, char *sym, int len, int num); +void tok_add_define_num_cvtcase(tokcxdef *ctx, const char *sym, int len, int num); /* undefine a #define symbol */ void tok_del_define(tokcxdef *ctx, char *sym, int len); |