From 3f0e2f7d9de03ea4fcc6273f2eb7ec3c0c353a0a Mon Sep 17 00:00:00 2001 From: Kuba Ober <kuba@mareimbrium.org> Date: Sat, 21 Dec 2019 10:25:05 -0500 Subject: [PATCH] Fix argument in AstConst.m_num.width. (#9) --- src/V3AstNodes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index 69fcab625..1bffff1ee 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -106,7 +106,7 @@ public: AstConst(FileLine* fl, Signed32, int32_t num) // Signed 32-bit integer of specified value : AstNodeMath(fl) , m_num(this, 32, num) { - m_num.width(32, 32); + m_num.width(32, true); dtypeSetLogicUnsized(32, m_num.widthMin(), AstNumeric::SIGNED); } class SizedEData {}; // for creator type-overload selection