Skip to content

Commit 42fda05

Browse files
committed
src: fix return type in Hash
1 parent 3fe9267 commit 42fda05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/heap_utils.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class JSGraphJSNode : public EmbedderGraph::Node {
4242

4343
struct Hash {
4444
inline size_t operator()(JSGraphJSNode* n) const {
45-
return n->IdentityHash();
45+
return static_cast<size_t>(n->IdentityHash());
4646
}
4747
};
4848

0 commit comments

Comments
 (0)