From f65c885c83a9d8a5bb8aac6064b61aa149bafcf3 Mon Sep 17 00:00:00 2001 From: Michael Bebenita Date: Mon, 9 Aug 2010 08:00:04 -0700 Subject: Made ref_count signed to help detect negative ref_count bugs. --- src/rt/rust_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rt/rust_internal.h') 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 struct rc_base { - size_t ref_count; + int32_t ref_count; void ref() { ++ref_count; -- cgit v1.2.3