From 420cbaf8b0bcbc13fd4fa52e01adc27376156599 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 30 Sep 2019 03:15:47 +0100 Subject: SCI: Fix MSVC Warning --- engines/sci/engine/scriptdebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp index bf6372bf8e..c579239b09 100644 --- a/engines/sci/engine/scriptdebug.cpp +++ b/engines/sci/engine/scriptdebug.cpp @@ -218,7 +218,7 @@ reg_t disassemble(EngineState *s, reg_t pos, const Object *obj, bool printBWTag, if (obj != nullptr) { const Object *const super = obj->getClass(s->_segMan); assert(super); - if (param_value / 2 < super->getVarCount()) { + if ((param_value / 2) < (uint16)super->getVarCount()) { selectorName = kernel->getSelectorName(super->getVarSelector(param_value / 2)).c_str(); } else { selectorName = ""; -- cgit v1.2.3