diff options
| author | Michael Bebenita <[email protected]> | 2010-08-09 08:00:04 -0700 |
|---|---|---|
| committer | Michael Bebenita <[email protected]> | 2010-08-09 08:00:04 -0700 |
| commit | f65c885c83a9d8a5bb8aac6064b61aa149bafcf3 (patch) | |
| tree | 9a48f5e05cf172ba15953dbb91f3e83c66fa95e2 /src | |
| parent | Some pretty printing in the runtime. (diff) | |
| download | rust-f65c885c83a9d8a5bb8aac6064b61aa149bafcf3.tar.xz rust-f65c885c83a9d8a5bb8aac6064b61aa149bafcf3.zip | |
Made ref_count signed to help detect negative ref_count bugs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rt/rust_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index a89144d7..b012a478 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; |