diff options
author | Joost Peters | 2009-07-06 13:09:50 +0000 |
---|---|---|
committer | Joost Peters | 2009-07-06 13:09:50 +0000 |
commit | de995433c6f7dcb7aac0c93870d08e5eaebe16c0 (patch) | |
tree | 018bc7fd20a3ab98765f9dd2c8d22946ed1403ce | |
parent | b38c5f8c5c1f08db12e84d65a32be6462c38d232 (diff) | |
download | scummvm-rg350-de995433c6f7dcb7aac0c93870d08e5eaebe16c0.tar.gz scummvm-rg350-de995433c6f7dcb7aac0c93870d08e5eaebe16c0.tar.bz2 scummvm-rg350-de995433c6f7dcb7aac0c93870d08e5eaebe16c0.zip |
add workaround for PSP compiler ICE
svn-id: r42175
-rw-r--r-- | engines/gob/hotspots.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |