[Scummvm-cvs-logs] SF.net SVN: scummvm:[41003] scummvm/trunk/engines/gob/inter_v1.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri May 29 16:39:10 CEST 2009


Revision: 41003
          http://scummvm.svn.sourceforge.net/scummvm/?rev=41003&view=rev
Author:   fingolfin
Date:     2009-05-29 14:39:10 +0000 (Fri, 29 May 2009)

Log Message:
-----------
atol -> atoi

Modified Paths:
--------------
    scummvm/trunk/engines/gob/inter_v1.cpp

Modified: scummvm/trunk/engines/gob/inter_v1.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_v1.cpp	2009-05-29 14:38:56 UTC (rev 41002)
+++ scummvm/trunk/engines/gob/inter_v1.cpp	2009-05-29 14:39:10 UTC (rev 41003)
@@ -1948,7 +1948,7 @@
 
 	strVar = _vm->_parse->parseVarIndex();
 	strncpy0(str, GET_VARO_STR(strVar), 19);
-	res = atol(str);
+	res = atoi(str);
 
 	destVar = _vm->_parse->parseVarIndex();
 	WRITE_VAR_OFFSET(destVar, res);


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