summaryrefslogtreecommitdiffstats
path: root/src
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
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 '')
-rw-r--r--src/Generating/BioGen.cpp2
-rw-r--r--src/Generating/BioGen.h2
2 files changed, 2 insertions, 2 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)
{
diff --git a/src/Generating/BioGen.h b/src/Generating/BioGen.h
index bf79d242d..cfa748ec7 100644
--- a/src/Generating/BioGen.h
+++ b/src/Generating/BioGen.h
@@ -87,7 +87,7 @@ class cBioGenMulticache :
typedef cBiomeGen super;
public:
- cBioGenMulticache(cBiomeGen * a_BioGenToCache, int a_CacheSize, int a_CachesLength); // Doesn't take ownership of a_BioGenToCache
+ cBioGenMulticache(cBiomeGen * a_BioGenToCache, size_t a_CacheSize, size_t a_CachesLength); // Doesn't take ownership of a_BioGenToCache
~cBioGenMulticache();
protected: