diff options
author | Torbjörn Andersson | 2006-05-24 19:51:37 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2006-05-24 19:51:37 +0000 |
commit | 4a583216fbfd7eee2197bac249c3f62007c2d4e4 (patch) | |
tree | 1f4d29458dd829d0d8f11b386040ec1a18b12a1a /engines/agi/opcodes.h | |
parent | 8d954b7ae50c0391ba49ceeb26294a21bbe5b77f (diff) | |
download | scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.tar.gz scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.tar.bz2 scummvm-rg350-4a583216fbfd7eee2197bac249c3f62007c2d4e4.zip |
Fixed most - not all - GCC warnings.
svn-id: r22614
Diffstat (limited to 'engines/agi/opcodes.h')
-rw-r--r-- | engines/agi/opcodes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/opcodes.h b/engines/agi/opcodes.h index 02379373f5..2a1b9b87d0 100644 --- a/engines/agi/opcodes.h +++ b/engines/agi/opcodes.h @@ -31,7 +31,7 @@ namespace Agi { struct agi_logicnames { #ifdef USE_CONSOLE /* ifndef NO_DEBUG */ - char *name; + const char *name; #endif uint16 num_args; uint16 arg_mask; @@ -41,7 +41,7 @@ extern struct agi_logicnames logic_names_test[]; extern struct agi_logicnames logic_names_cmd[]; extern struct agi_logicnames logic_names_if[]; -void debug_console(int, int, char *); +void debug_console(int, int, const char *); int test_if_code(int); void new_room(int); void execute_agi_command(uint8, uint8 *); |