aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-01-10 22:34:40 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-01-10 22:35:28 +0000
commitacf37a3b4812318378c4522e97f7401679b4e0cd (patch)
treea874ce26f024e563a639385f9e0c3069b41a7c1e /vespalib
parent098a7fbb77780f73b1f8ef2f65bb4bff9008181d (diff)
ElemCount must be larger than 32 bits.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/datastore/buffer_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/datastore/buffer_type.h b/vespalib/src/vespa/vespalib/datastore/buffer_type.h
index 4dc27fb93fb..aeb3d3d73c1 100644
--- a/vespalib/src/vespa/vespalib/datastore/buffer_type.h
+++ b/vespalib/src/vespa/vespalib/datastore/buffer_type.h
@@ -7,7 +7,7 @@
namespace vespalib::datastore {
-using ElemCount = uint32_t;
+using ElemCount = uint64_t;
/**
* Abstract class used to manage allocation and de-allocation of a specific data type in underlying memory buffers in a data store.
* Each buffer is owned by an instance of BufferState.