diff options
author | madmaxoft <github@xoft.cz> | 2014-05-01 22:41:18 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-05-01 22:41:18 +0200 |
commit | e175ae551c5e1e8034648f950c016b6348d6bf09 (patch) | |
tree | 21f8d70f1829657300476fbfa6a60fb1d0be6d2b | |
parent | Merge pull request #973 from mc-server/ItemNoCopyConstructor (diff) | |
download | cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.tar cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.tar.gz cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.tar.bz2 cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.tar.lz cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.tar.xz cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.tar.zst cuberite-e175ae551c5e1e8034648f950c016b6348d6bf09.zip |
Diffstat (limited to '')
-rw-r--r-- | src/BlockArea.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BlockArea.h b/src/BlockArea.h index 4c4dfb8ff..6dba0f12e 100644 --- a/src/BlockArea.h +++ b/src/BlockArea.h @@ -294,7 +294,7 @@ public: NIBBLETYPE * GetBlockMetas (void) const { return m_BlockMetas; } // NOTE: one byte per block! NIBBLETYPE * GetBlockLight (void) const { return m_BlockLight; } // NOTE: one byte per block! NIBBLETYPE * GetBlockSkyLight(void) const { return m_BlockSkyLight; } // NOTE: one byte per block! - size_t GetBlockCount(void) const { return m_Size.x * m_Size.y * m_Size.z; } + size_t GetBlockCount(void) const { return (size_t)(m_Size.x * m_Size.y * m_Size.z); } int MakeIndex(int a_RelX, int a_RelY, int a_RelZ) const; protected: |