Fix 32-bit build of previous commit

This commit is contained in:
Wilson Snyder 2022-09-20 18:23:44 -04:00
parent fc3ce29845
commit 5df14627fd

View File

@ -77,8 +77,8 @@ private:
// CONSTANTS
// At least 2 words (64 fourstate bits). 4 words (128 fourstate bits) in most cases,
// i.e. when std::string has 32 bytes.
static constexpr int INLINE_WORDS
= vlstd::max(2UL, vlstd::max(sizeof(std::string) / sizeof(ValueAndX),
static constexpr int INLINE_WORDS = vlstd::max(
static_cast<size_t>(2), vlstd::max(sizeof(std::string) / sizeof(ValueAndX),
sizeof(std::vector<ValueAndX>) / sizeof(ValueAndX)));
// When m_width > MAX_INLINE_WIDTH number is stored in m_dynamicNumber.
// Otherwise number is stored in m_inlineNumber.