From 19a01c3e848ee165abf33b6bef696d88c6c59321 Mon Sep 17 00:00:00 2001 From: Jamieson Christian Date: Sun, 25 May 2003 12:29:29 +0000 Subject: Fixed VC++ warning svn-id: r7947 --- scumm/string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm/string.cpp') 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; } -- cgit v1.2.3