aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/scriptdebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptdebug.cpp b/engines/sci/engine/scriptdebug.cpp
index 72fe1a5487..1796edb5de 100644
--- a/engines/sci/engine/scriptdebug.cpp
+++ b/engines/sci/engine/scriptdebug.cpp
@@ -1601,7 +1601,7 @@ disassemble(state_t *s, reg_t pos, int print_bw_tag, int print_bytecode)
int
c_dumpnodes(state_t *s) {
- int end = MIN(cmd_params[0].val, VOCAB_TREE_NODES);
+ int end = MIN<int>(cmd_params[0].val, VOCAB_TREE_NODES);
int i;