aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rt/rust_internal.h')
-rw-r--r--src/rt/rust_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h
index 46ea843f..17148399 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -76,7 +76,7 @@ template <typename T>
struct
rc_base
{
- int32_t ref_count;
+ intptr_t ref_count;
void ref() {
++ref_count;