add workaround for PSP compiler ICE

svn-id: r42175
This commit is contained in:
Joost Peters 2009-07-06 13:09:50 +00:00
parent b38c5f8c5c
commit de995433c6

View File

@ -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);