diff options
Diffstat (limited to 'src/zap')
-rw-r--r-- | src/zap/nativeformatwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zap/nativeformatwriter.cpp b/src/zap/nativeformatwriter.cpp index 9e1b8196cb..4986605b7b 100644 --- a/src/zap/nativeformatwriter.cpp +++ b/src/zap/nativeformatwriter.cpp @@ -259,7 +259,7 @@ namespace NativeFormat bool fFirstIsLeaf = false, fSecondIsLeaf = false; Vertex * pFirst = ExpandBlock(index, depth - 1, false, &fFirstIsLeaf); - Vertex * pSecond = ExpandBlock(index + (1 << (depth - 1)), depth - 1, true, &fSecondIsLeaf); + Vertex * pSecond = ExpandBlock(index + (size_t{ 1 } << (depth - 1)), depth - 1, true, &fSecondIsLeaf); Vertex * pPop; |