aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorLars Persson2009-02-16 18:37:28 +0000
committerLars Persson2009-02-16 18:37:28 +0000
commit6dbd7e21eb3024387607f2d2ebbac3dab258c85f (patch)
treec8fe76aea3c44639e2129fdc3e9aa720cd176cfe /engines
parenta43b0bc2dc0bbad04855adf44b948e88a7a4551e (diff)
downloadscummvm-rg350-6dbd7e21eb3024387607f2d2ebbac3dab258c85f.tar.gz
scummvm-rg350-6dbd7e21eb3024387607f2d2ebbac3dab258c85f.tar.bz2
scummvm-rg350-6dbd7e21eb3024387607f2d2ebbac3dab258c85f.zip
Use MIN with correct template <int>
svn-id: r38375
Diffstat (limited to 'engines')
-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;