mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-20 00:45:10 +00:00
Fixed signed/unsigned warning.
svn-id: r31677
This commit is contained in:
parent
c3cec1926f
commit
718787d700
@ -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
|
||||
|
@ -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;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user