diff options
author | Max Horn | 2009-07-01 20:51:34 +0000 |
---|---|---|
committer | Max Horn | 2009-07-01 20:51:34 +0000 |
commit | c4f629533082b065d8399a38822cd9cce08ccce8 (patch) | |
tree | 01ba5c8ae296ef1eec7a9bd089284cf921777d1b /engines/queen | |
parent | a6b57dc3a986f749ca8f915b461b184d48390757 (diff) | |
download | scummvm-rg350-c4f629533082b065d8399a38822cd9cce08ccce8.tar.gz scummvm-rg350-c4f629533082b065d8399a38822cd9cce08ccce8.tar.bz2 scummvm-rg350-c4f629533082b065d8399a38822cd9cce08ccce8.zip |
Fixed some more warnings observed on buildbot
svn-id: r42010
Diffstat (limited to 'engines/queen')
-rw-r--r-- | engines/queen/command.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/queen/command.cpp b/engines/queen/command.cpp index 2ae222479d..81f0f3ff89 100644 --- a/engines/queen/command.cpp +++ b/engines/queen/command.cpp @@ -123,7 +123,7 @@ public: virtual void displayTemp(InkColor color, const char *name, bool outlined) { char temp[MAX_COMMAND_LEN]; // don't show a space after the goto and give commands in the Greek version - if (_command[1] != -34 && !(_command[1] == -2 && strlen(_command) > 5)) + if (_command[1] != (char)-34 && !(_command[1] == (char)-2 && strlen(_command) > 5)) sprintf(temp, "%s %s", _command, name); else sprintf(temp, "%s%s", _command, name); @@ -132,7 +132,7 @@ public: virtual void addObject(const char *objName) { // don't show a space after the goto and give commands in the Greek version - if (_command[1] != -34 && !(_command[1] == -2 && strlen(_command) > 5)) + if (_command[1] != (char)-34 && !(_command[1] == (char)-2 && strlen(_command) > 5)) strcat(_command, " "); strcat(_command, objName); } |