Skip to content

Commit 85d5f67

Browse files
gengjiawentargos
authored andcommitted
src: fix return type in Hash
PR-URL: #25936 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 779a577 commit 85d5f67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/heap_utils.cc

+1-1
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)