aboutsummaryrefslogtreecommitdiff
path: root/src/rt/rust_internal.h
diff options
context:
space:
mode:
authorMichael Bebenita <[email protected]>2010-08-11 14:05:50 -0700
committerMichael Bebenita <[email protected]>2010-08-11 16:08:45 -0700
commitd584de7a37958cc302ce01c4f8e250ed1fe9685a (patch)
tree986fbf6efded3f6803050f4ed58e0c0220927aa0 /src/rt/rust_internal.h
parentPrint domain and task names in log prefix. (diff)
downloadrust-d584de7a37958cc302ce01c4f8e250ed1fe9685a.tar.xz
rust-d584de7a37958cc302ce01c4f8e250ed1fe9685a.zip
Made ref_count a word sized value.
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;