From 3d8de3194cd1d31926d38a81c8a87cd5f67874bb Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 5 Dec 2006 15:24:38 +0000 Subject: [PATCH] Fix SuSE10.0 compile warnings git-svn-id: file://localhost/svn/verilator/trunk/verilator@833 77ca24e4-aefa-0310-84f0-b9a241c72d87 --- src/V3Trace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3Trace.cpp b/src/V3Trace.cpp index 1a4da82b8..98c6d6f2a 100644 --- a/src/V3Trace.cpp +++ b/src/V3Trace.cpp @@ -76,8 +76,8 @@ public: m_activityCodeValid = false; m_slow = slow; } - enum { ACTIVITY_NEVER=(1UL<<31) }; - enum { ACTIVITY_ALWAYS=-1 }; + enum { ACTIVITY_NEVER =((1UL<<31) - 1) }; + enum { ACTIVITY_ALWAYS=((1UL<<31) - 2) }; enum { ACTIVITY_SLOW=0 }; class ActivityAlways {}; TraceActivityVertex(V3Graph* graphp, vlsint32_t code)