aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTorbjörn Andersson2008-04-23 20:56:10 +0000
committerTorbjörn Andersson2008-04-23 20:56:10 +0000
commit718787d700558d774e3aae4901ab740eaaec571f (patch)
tree761cb53a54bd2752b596a18a85e737bb8e389a92 /engines
parentc3cec1926f573e3a856a8f323c1eabf24666d9d7 (diff)
downloadscummvm-rg350-718787d700558d774e3aae4901ab740eaaec571f.tar.gz
scummvm-rg350-718787d700558d774e3aae4901ab740eaaec571f.tar.bz2
scummvm-rg350-718787d700558d774e3aae4901ab740eaaec571f.zip
Fixed signed/unsigned warning.
svn-id: r31677
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;
};