Fixed signed/unsigned warning.

svn-id: r31677
This commit is contained in:
Torbjörn Andersson 2008-04-23 20:56:10 +00:00
parent c3cec1926f
commit 718787d700
2 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ void MenuResource::load(byte *source, int size) {
delete sourceS;
}
const char *MenuResource::getString(int index) const {
const char *MenuResource::getString(uint index) const {
if (index < _strings.size())
return _strings[index].c_str();
else

View File

@ -105,7 +105,7 @@ public:
~MenuResource();
void load(byte *source, int size);
int getCount() const { return _strings.size(); }
const char *getString(int index) const;
const char *getString(uint index) const;
protected:
Common::Array<Common::String> _strings;
};