From 3beff12309f4e78c74a9353eb0b68c2c8bf8e887 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Thu, 29 Nov 2012 12:05:56 -0800 Subject: [PATCH] test: Fix broken resource-cycle.rs. r=tinderbox --- src/test/run-pass/resource-cycle.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/run-pass/resource-cycle.rs b/src/test/run-pass/resource-cycle.rs index e9ec45d97e9..72466d5513d 100644 --- a/src/test/run-pass/resource-cycle.rs +++ b/src/test/run-pass/resource-cycle.rs @@ -8,7 +8,7 @@ impl r : Drop { fn finalize(&self) { unsafe { debug!("r's dtor: self = %x, self.v = %x, self.v's value = %x", - cast::reinterpret_cast::<*r, uint>(&ptr::addr_of(&self)), + cast::reinterpret_cast::<*r, uint>(&ptr::addr_of(self)), cast::reinterpret_cast::<**int, uint>(&ptr::addr_of(&(self.v))), cast::reinterpret_cast::<*int, uint>(&self.v)); let v2: ~int = cast::reinterpret_cast(&self.v);