Fix for MSVC++ compile error (#2831) (#2833)

This commit is contained in:
Drew Taussig 2021-03-11 13:30:23 -05:00 committed by GitHub
parent 7469166c38
commit 3651321679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -90,3 +90,4 @@ Yuri Victorovich
Yutetsu TAKATSUKASA
Yves Mathieu
HyungKi Jeong
Drew Taussig

View File

@ -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