summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-30 20:02:30 +0200
committermadmaxoft <github@xoft.cz>2014-03-30 20:02:30 +0200
commita5c0600e6c69c329fcafc2f9138b9439cf5f65ce (patch)
treea9fc9b6e6e52e6c2bf3fd617cf7450cf3cc12770 /src/Item.h
parentMerge branch 'NetherFortGen'. (diff)
downloadcuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.tar
cuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.tar.gz
cuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.tar.bz2
cuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.tar.lz
cuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.tar.xz
cuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.tar.zst
cuberite-a5c0600e6c69c329fcafc2f9138b9439cf5f65ce.zip
Diffstat (limited to 'src/Item.h')
-rw-r--r--src/Item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h
index 4bdfb12dd..910ecb382 100644
--- a/src/Item.h
+++ b/src/Item.h
@@ -209,7 +209,7 @@ public:
void Add (const cItem & a_Item) {push_back(a_Item); }
void Delete(int a_Idx);
void Clear (void) {clear(); }
- int Size (void) {return size(); }
+ size_t Size (void) {return size(); }
void Set (int a_Idx, short a_ItemType, char a_ItemCount, short a_ItemDamage);
void Add (short a_ItemType, char a_ItemCount, short a_ItemDamage)