diff --git a/src/V3Number.cpp b/src/V3Number.cpp index e4abd9f10..4448775d1 100644 --- a/src/V3Number.cpp +++ b/src/V3Number.cpp @@ -35,7 +35,7 @@ //====================================================================== // Errors -void V3Number::v3errorEnd(std::ostringstream& str) { +void V3Number::v3errorEnd(std::ostringstream& str) const { std::ostringstream nsstr; nsstr<v3errorEnd(nsstr); @@ -665,7 +665,10 @@ uint32_t V3Number::toUInt() const { UASSERT(!isFourState(), "toUInt with 4-state "<<*this); // We allow wide numbers that represent values <= 32 bits for (int i=1; i(toUInt())); return ((static_cast(m_value[1])<