Skip to content

Commit d584de7

Browse files
committed
Made ref_count a word sized value.
1 parent ff93e5e commit d584de7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rt/rust_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ template <typename T>
7676
struct
7777
rc_base
7878
{
79-
int32_t ref_count;
79+
intptr_t ref_count;
8080

8181
void ref() {
8282
++ref_count;

0 commit comments

Comments
 (0)