Skip to content

Commit

Permalink
src: fix return type in Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
gengjiawen committed Feb 5, 2019
1 parent 3fe9267 commit 42fda05
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 42fda05

Please sign in to comment.