Skip to content

Commit

Permalink
src: fix return type in Hash
Browse files Browse the repository at this point in the history
PR-URL: #25936
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
gengjiawen authored and addaleax committed Feb 9, 2019
1 parent 2fa6376 commit ea2350b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/heap_utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class JSGraphJSNode : public EmbedderGraph::Node {

struct Hash {
inline size_t operator()(JSGraphJSNode* n) const {
return n->IdentityHash();
return static_cast<size_t>(n->IdentityHash());
}
};

Expand Down

0 comments on commit ea2350b

Please sign in to comment.