aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}