[Scummvm-cvs-logs] SF.net SVN: scummvm: [31677] scummvm/trunk/engines/made
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Wed Apr 23 22:56:10 CEST 2008
Revision: 31677
http://scummvm.svn.sourceforge.net/scummvm/?rev=31677&view=rev
Author: eriktorbjorn
Date: 2008-04-23 13:56:10 -0700 (Wed, 23 Apr 2008)
Log Message:
-----------
Fixed signed/unsigned warning.
Modified Paths:
--------------
scummvm/trunk/engines/made/resource.cpp
scummvm/trunk/engines/made/resource.h
Modified: scummvm/trunk/engines/made/resource.cpp
===================================================================
--- scummvm/trunk/engines/made/resource.cpp 2008-04-23 20:50:31 UTC (rev 31676)
+++ scummvm/trunk/engines/made/resource.cpp 2008-04-23 20:56:10 UTC (rev 31677)
@@ -198,7 +198,7 @@
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
Modified: scummvm/trunk/engines/made/resource.h
===================================================================
--- scummvm/trunk/engines/made/resource.h 2008-04-23 20:50:31 UTC (rev 31676)
+++ scummvm/trunk/engines/made/resource.h 2008-04-23 20:56:10 UTC (rev 31677)
@@ -105,7 +105,7 @@
~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;
};
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list