forked from github/verilator
Fix 32-bit build of previous commit
This commit is contained in:
parent
fc3ce29845
commit
5df14627fd
@ -77,8 +77,8 @@ private:
|
|||||||
// CONSTANTS
|
// CONSTANTS
|
||||||
// At least 2 words (64 fourstate bits). 4 words (128 fourstate bits) in most cases,
|
// At least 2 words (64 fourstate bits). 4 words (128 fourstate bits) in most cases,
|
||||||
// i.e. when std::string has 32 bytes.
|
// i.e. when std::string has 32 bytes.
|
||||||
static constexpr int INLINE_WORDS
|
static constexpr int INLINE_WORDS = vlstd::max(
|
||||||
= vlstd::max(2UL, vlstd::max(sizeof(std::string) / sizeof(ValueAndX),
|
static_cast<size_t>(2), vlstd::max(sizeof(std::string) / sizeof(ValueAndX),
|
||||||
sizeof(std::vector<ValueAndX>) / sizeof(ValueAndX)));
|
sizeof(std::vector<ValueAndX>) / sizeof(ValueAndX)));
|
||||||
// When m_width > MAX_INLINE_WIDTH number is stored in m_dynamicNumber.
|
// When m_width > MAX_INLINE_WIDTH number is stored in m_dynamicNumber.
|
||||||
// Otherwise number is stored in m_inlineNumber.
|
// Otherwise number is stored in m_inlineNumber.
|
||||||
|
Loading…
Reference in New Issue
Block a user