diff --git a/src/V3Cdc.cpp b/src/V3Cdc.cpp index 4355ec494..2957e2a9a 100644 --- a/src/V3Cdc.cpp +++ b/src/V3Cdc.cpp @@ -168,7 +168,7 @@ public: class CdcWidthVisitor : public CdcBaseVisitor { private: int m_maxLineno; - int m_maxFilenameLen; + unsigned m_maxFilenameLen; virtual void visit(AstNode* nodep, AstNUser*) { nodep->iterateChildren(*this);