[Scummvm-cvs-logs] SF.net SVN: scummvm: [32448] tools/trunk/kyra_ins.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun Jun 1 01:18:07 CEST 2008


Revision: 32448
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32448&view=rev
Author:   athrxx
Date:     2008-05-31 16:18:06 -0700 (Sat, 31 May 2008)

Log Message:
-----------
MSVC compile fix

Modified Paths:
--------------
    tools/trunk/kyra_ins.cpp

Modified: tools/trunk/kyra_ins.cpp
===================================================================
--- tools/trunk/kyra_ins.cpp	2008-05-31 23:13:02 UTC (rev 32447)
+++ tools/trunk/kyra_ins.cpp	2008-05-31 23:18:06 UTC (rev 32448)
@@ -442,7 +442,7 @@
 	strncpy(_baseFilename, baseFilename, sizeof(_baseFilename));
 	char *str = strstr(_baseFilename, ".");
 	if (str) {
-		if ((uint)((str - _baseFilename) + 1) < strlen(_baseFilename))
+		if ((uint32)((str - _baseFilename) + 1) < strlen(_baseFilename))
 			str[1] = 0;
 	} else {
 		error("filename too long '%s'", baseFilename);


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