diff options
Diffstat (limited to 'src/literal.h')
-rw-r--r-- | src/literal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/literal.h b/src/literal.h index c55d645ad..55efbd31e 100644 --- a/src/literal.h +++ b/src/literal.h @@ -158,8 +158,8 @@ namespace std { template<> struct hash<wasm::Literal> { size_t operator()(const wasm::Literal& a) const { return wasm::rehash( - hash<size_t>()(size_t(a.type)), - hash<int64_t>()(a.getBits()) + uint64_t(hash<size_t>()(size_t(a.type))), + uint64_t(hash<int64_t>()(a.getBits())) ); } }; |