summaryrefslogtreecommitdiffstats
path: root/src/Generating/BioGen.cpp
diff options
context:
space:
mode:
authorDayBr3ak <benj.groeneveld@gmail.com>2014-09-02 18:18:43 +0200
committerDayBr3ak <benj.groeneveld@gmail.com>2014-09-02 18:18:43 +0200
commitb8636ee53abf8f497aae5c8765618fad63d0552a (patch)
tree0e7de42795744951785969c6eccb3bd71d686d4d /src/Generating/BioGen.cpp
parentopting for size_t (diff)
downloadcuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.tar
cuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.tar.gz
cuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.tar.bz2
cuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.tar.lz
cuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.tar.xz
cuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.tar.zst
cuberite-b8636ee53abf8f497aae5c8765618fad63d0552a.zip
Diffstat (limited to 'src/Generating/BioGen.cpp')
-rw-r--r--src/Generating/BioGen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Generating/BioGen.cpp b/src/Generating/BioGen.cpp
index de6869e12..69af5c79a 100644
--- a/src/Generating/BioGen.cpp
+++ b/src/Generating/BioGen.cpp
@@ -211,7 +211,7 @@ void cBioGenCache::InitializeBiomeGen(cIniFile & a_IniFile)
////////////////////////////////////////////////////////////////////////////////
// cBioGenMulticache:
-cBioGenMulticache::cBioGenMulticache(cBiomeGen * a_BioGenToCache, int a_CacheSize, int a_CachesLength) :
+cBioGenMulticache::cBioGenMulticache(cBiomeGen * a_BioGenToCache, size_t a_CacheSize, size_t a_CachesLength) :
m_CachesLength(a_CachesLength),
m_InternalCacheLength(a_CachesLength * a_CacheSize)
{