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 targos committed Feb 10, 2019
1 parent 779a577 commit 85d5f67
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 85d5f67

Please sign in to comment.