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

joostp at users.sourceforge.net joostp at users.sourceforge.net
Mon Jul 6 15:09:50 CEST 2009


Revision: 42175
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42175&view=rev
Author:   joostp
Date:     2009-07-06 13:09:50 +0000 (Mon, 06 Jul 2009)

Log Message:
-----------
add workaround for PSP compiler ICE

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

Modified: scummvm/trunk/engines/gob/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/gob/hotspots.cpp	2009-07-06 12:44:55 UTC (rev 42174)
+++ scummvm/trunk/engines/gob/hotspots.cpp	2009-07-06 13:09:50 UTC (rev 42175)
@@ -1795,7 +1795,7 @@
 }
 
 void Hotspots::cleanFloatString(const Hotspot &spot) const {
-	char tempStr[256];
+	static char tempStr[256];	//the static keyword is unnecessary, but was added to work around a PSP compiler ICE.
 
 	// Get the string
 	strncpy0(tempStr, GET_VARO_STR(spot.key), 255);


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