aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/made/resource.cpp2
-rw-r--r--engines/made/resource.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/made/resource.cpp b/engines/made/resource.cpp
index 3d9cec6fc1..cb7cf6e7f5 100644
--- a/engines/made/resource.cpp
+++ b/engines/made/resource.cpp
@@ -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
diff --git a/engines/made/resource.h b/engines/made/resource.h
index 9fc89a5892..e2f305dc79 100644
--- a/engines/made/resource.h
+++ b/engines/made/resource.h
@@ -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;
};