aboutsummaryrefslogtreecommitdiff
path: root/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'actor.cpp')
-rw-r--r--actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/actor.cpp b/actor.cpp
index 7811345037..fb29e17438 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -977,7 +977,7 @@ void Scumm::actorTalk() {
_msgPtrToAdd = charset._buffer;
_messagePtr = addMessageToStack(_messagePtr);
- assert(_msgPtrToAdd - charset._buffer < sizeof(charset._buffer));
+ assert((int)(_msgPtrToAdd - charset._buffer) < (int)(sizeof(charset._buffer)));
if (_actorToPrintStrFor==0xFF) {
if (!_keepText)