From 56d8ddbaaf2dd111f2dad4d7c1b0c0da9e6e3690 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 4 Feb 2010 20:31:13 -0500 Subject: [PATCH] Fix MSVC compile warning --- include/verilated.cpp | 2 +- include/verilated.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/verilated.cpp b/include/verilated.cpp index a2fa425e0..cb33f1af2 100644 --- a/include/verilated.cpp +++ b/include/verilated.cpp @@ -1018,7 +1018,7 @@ void VerilatedScope::configure(VerilatedSyms* symsp, const char* prefixp, const VerilatedImp::scopeInsert(this); } -void VerilatedScope::exportInsert(bool finalize, const char* namep, void* cb) { +void VerilatedScope::exportInsert(int finalize, const char* namep, void* cb) { // Slowpath - called once/scope*export at construction // Insert a exported function into scope table int funcnum = VerilatedImp::exportInsert(namep); diff --git a/include/verilated.h b/include/verilated.h index de9c06a2f..3db874f8b 100644 --- a/include/verilated.h +++ b/include/verilated.h @@ -158,7 +158,7 @@ public: // But internals only - called from VerilatedModule's VerilatedScope(); ~VerilatedScope(); void configure(VerilatedSyms* symsp, const char* prefixp, const char* suffixp); - void exportInsert(bool finalize, const char* namep, void* cb); + void exportInsert(int finalize, const char* namep, void* cb); // ACCESSORS const char* name() const { return m_namep; } inline VerilatedSyms* symsp() const { return m_symsp; }