mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 05:32:45 +00:00
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:
parent
06066565a6
commit
47face89e5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user