ext/rmmseg/memory.cpp in rmmseg-cpp-0.2.7 vs ext/rmmseg/memory.cpp in rmmseg-cpp-0.2.9
- old
+ new
@@ -2,8 +2,8 @@
#define PRE_ALLOC_SIZE 2097152 /* 2MB */
namespace rmmseg
{
- char *_pool_base = static_cast<char *>(std::malloc(PRE_ALLOC_SIZE));
- int _pool_size = PRE_ALLOC_SIZE;
+ char *_pool_base = static_cast<char *>(std::malloc(PRE_ALLOC_SIZE));
+ size_t _pool_size = PRE_ALLOC_SIZE;
}