Fixed the psp build breakage in r3595. Erwan, pls review - I think that the subtypesToType map probably should be unsigned ints instead of signed, but I wasn't about to sweep through the file right now.

This commit is contained in:
wrenczes
2011-05-04 10:27:18 +00:00
parent bfffb169cf
commit 5041916fdd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ bool Subtypes::isSubtypeOfType(string subtype, string type)
unsigned int typeInt = find(type);
return isSubtypeOfType(subtypeInt, typeInt);
}
bool Subtypes::isSubtypeOfType(unsigned int subtype, unsigned int type)
bool Subtypes::isSubtypeOfType(int subtype, int type)
{
return (subtypesToType[subtype] == type);
}