aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zenserver/cache/structuredcachestore.cpp')
-rw-r--r--zenserver/cache/structuredcachestore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zenserver/cache/structuredcachestore.cpp b/zenserver/cache/structuredcachestore.cpp
index 280820a4e..8f1754346 100644
--- a/zenserver/cache/structuredcachestore.cpp
+++ b/zenserver/cache/structuredcachestore.cpp
@@ -1397,7 +1397,7 @@ namespace testutils {
IoBuffer CreateBinaryCacheValue(uint64_t Size)
{
- std::vector<uint32_t> Data(size_t(Size / sizeof uint32_t));
+ std::vector<uint32_t> Data(size_t(Size / sizeof(uint32_t)));
std::generate(Data.begin(), Data.end(), [Idx = 0]() mutable { return Idx++; });
IoBuffer Buf(IoBuffer::Clone, Data.data(), Data.size() * sizeof(uint32_t));