Fixed warnings. (Maybe it should be "const char *" instead, but then I got

warnings from a different part of the code. Ho, hum...)

svn-id: r15624
This commit is contained in:
Torbjörn Andersson 2004-10-21 06:44:25 +00:00
parent 06066565a6
commit 47face89e5
2 changed files with 2 additions and 2 deletions

View File

@ -157,6 +157,6 @@ void ObjectMan::saveLiveList(uint16 *dest) {
memcpy(dest, _liveList, TOTAL_SECTIONS * sizeof(uint16));
}
char *ObjectMan::_errorStr = "Error: Text not found.";
char ObjectMan::_errorStr[] = "Error: Text not found.";
} // End of namespace Sword1

View File

@ -57,7 +57,7 @@ private:
static const uint32 _textList[TOTAL_SECTIONS][7]; //a table of pointers to text files
uint16 _liveList[TOTAL_SECTIONS]; //which sections are active
uint8 *_cptData[TOTAL_SECTIONS];
static char *_errorStr;
static char _errorStr[];
};
} // End of namespace Sword1