From ea2350bb00faee684319ce462037a3f0906e54f0 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 PR-URL: https://github.com/nodejs/node/pull/25936 Reviewed-By: Anna Henningsen Reviewed-By: Ben Noordhuis Reviewed-By: Colin Ihrig Reviewed-By: James M Snell --- 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()); } };