[Scummvm-cvs-logs] SF.net SVN: scummvm:[38375] scummvm/trunk/engines/sci/engine/scriptdebug. cpp

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Mon Feb 16 19:37:29 CET 2009


Revision: 38375
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38375&view=rev
Author:   anotherguest
Date:     2009-02-16 18:37:28 +0000 (Mon, 16 Feb 2009)

Log Message:
-----------
Use MIN with correct template <int>

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/scriptdebug.cpp

Modified: scummvm/trunk/engines/sci/engine/scriptdebug.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/scriptdebug.cpp	2009-02-16 17:17:15 UTC (rev 38374)
+++ scummvm/trunk/engines/sci/engine/scriptdebug.cpp	2009-02-16 18:37:28 UTC (rev 38375)
@@ -1601,7 +1601,7 @@
 
 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;
 
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list