Use C++11 standard types for MacOS portability (#3254) (#3257).

This commit is contained in:
Wilson Snyder
2022-01-01 16:04:20 -05:00
parent f3945e7c02
commit 4cd56b1fb9
17 changed files with 78 additions and 112 deletions
+1 -1
View File
@@ -353,7 +353,7 @@ class EmitCImp final : EmitCFunc {
hash.insert(varp->dtypep()->width());
}
}
ofp()->printf("vluint64_t __Vcheckval = 0x%" VL_PRI64 "xULL;\n",
ofp()->printf("vluint64_t __Vcheckval = 0x%" PRIx64 "ULL;\n",
static_cast<vluint64_t>(hash.digestUInt64()));
if (de) {
puts("os.readAssert(__Vcheckval);\n");