about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 a89144d7066..b012a4785b3 100644
--- a/src/rt/rust_internal.h
+++ b/src/rt/rust_internal.h
@@ -75,7 +75,7 @@ template <typename T>
 struct
 rc_base
 {
-    size_t ref_count;
+    int32_t ref_count;
 
     void ref() {
         ++ref_count;