From 42fda054e962eeed77db5f6a27f50d1c2e58f1d0 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Tue, 5 Feb 2019 09:03:04 +0800 Subject: [PATCH] src: fix return type in Hash --- src/heap_utils.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/heap_utils.cc b/src/heap_utils.cc index a1ca118e6c1f93..e71a65e600631e 100644 --- a/src/heap_utils.cc +++ b/src/heap_utils.cc @@ -42,7 +42,7 @@ class JSGraphJSNode : public EmbedderGraph::Node { struct Hash { inline size_t operator()(JSGraphJSNode* n) const { - return n->IdentityHash(); + return static_cast(n->IdentityHash()); } };