From de995433c6f7dcb7aac0c93870d08e5eaebe16c0 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Mon, 6 Jul 2009 13:09:50 +0000 Subject: add workaround for PSP compiler ICE svn-id: r42175 --- engines/gob/hotspots.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/gob') diff --git a/engines/gob/hotspots.cpp b/engines/gob/hotspots.cpp index 02d112869a..d47c31840d 100644 --- a/engines/gob/hotspots.cpp +++ b/engines/gob/hotspots.cpp @@ -1795,7 +1795,7 @@ uint32 Hotspots::getCurrentHotspot() const { } 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); -- cgit v1.2.3