aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJamieson Christian2003-05-25 12:29:29 +0000
committerJamieson Christian2003-05-25 12:29:29 +0000
commit19a01c3e848ee165abf33b6bef696d88c6c59321 (patch)
tree62a609b82775146056db7093e5ea3840d58568d5 /scumm
parent835b4e9476bb70e0cedc0a7c26e993302be34e3a (diff)
downloadscummvm-rg350-19a01c3e848ee165abf33b6bef696d88c6c59321.tar.gz
scummvm-rg350-19a01c3e848ee165abf33b6bef696d88c6c59321.tar.bz2
scummvm-rg350-19a01c3e848ee165abf33b6bef696d88c6c59321.zip
Fixed VC++ warning
svn-id: r7947
Diffstat (limited to 'scumm')
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 5c624df4e2..30c0efab25 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -587,7 +587,7 @@ const byte *Scumm::addMessageToStack(const byte *msg) {
int var = READ_LE_UINT16(ptr + num);
num += 2;
char c;
- while ((c = _scummVars[var])) {
+ while ((c = (char) _scummVars[var])) {
if (c != '@')
*_msgPtrToAdd++ = c;
}