From 3651321679415f926683c8cb94c5b0cba756ac38 Mon Sep 17 00:00:00 2001 From: Drew Taussig <78766959+dt-snps@users.noreply.github.com> Date: Thu, 11 Mar 2021 13:30:23 -0500 Subject: [PATCH] Fix for MSVC++ compile error (#2831) (#2833) --- docs/CONTRIBUTORS | 1 + include/verilated_sym_props.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/CONTRIBUTORS b/docs/CONTRIBUTORS index c8d8ecc10..9d35df7de 100644 --- a/docs/CONTRIBUTORS +++ b/docs/CONTRIBUTORS @@ -90,3 +90,4 @@ Yuri Victorovich Yutetsu TAKATSUKASA Yves Mathieu HyungKi Jeong +Drew Taussig diff --git a/include/verilated_sym_props.h b/include/verilated_sym_props.h index f66cc92c1..feb3ea94e 100644 --- a/include/verilated_sym_props.h +++ b/include/verilated_sym_props.h @@ -70,7 +70,7 @@ public: class VerilatedVarProps VL_NOT_FINAL { // TYPES - enum { MAGIC = 0xddc4f829 }; + static constexpr vluint32_t MAGIC = 0xddc4f829UL; // MEMBERS const vluint32_t m_magic; // Magic number const VerilatedVarType m_vltype; // Data type