summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Enchantments.cpp4
-rw-r--r--src/Enchantments.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Enchantments.cpp b/src/Enchantments.cpp
index bfcde9dac..58479d729 100644
--- a/src/Enchantments.cpp
+++ b/src/Enchantments.cpp
@@ -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();
}
diff --git a/src/Enchantments.h b/src/Enchantments.h
index 82eea53f9..6793aca36 100644
--- a/src/Enchantments.h
+++ b/src/Enchantments.h
@@ -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;