1
0

Change int to size_t return.

This commit is contained in:
Howaner 2014-05-05 22:11:48 +02:00
parent a138671e0e
commit dca3af1f0f
2 changed files with 3 additions and 3 deletions

View File

@ -83,9 +83,9 @@ void cEnchantments::AddFromString(const AString & a_StringSpec)
int cEnchantments::Size(void)
size_t cEnchantments::Size(void)
{
return (int)m_Enchantments.size();
return m_Enchantments.size();
}

View File

@ -85,7 +85,7 @@ public:
void AddFromString(const AString & a_StringSpec);
/** Get the count of enchantments */
int Size(void);
size_t Size(void);
/** Serializes all the enchantments into a string */
AString ToString(void) const;