test: Fix problem with check-fast. rs=burningtree

This commit is contained in:
Patrick Walton 2013-05-29 21:21:33 -07:00
parent b916e65f3e
commit 5fa788415f

View File

@ -19,7 +19,7 @@ fn addr_of<T>(ptr: &T) -> uint {
fn is_aligned<T>(ptr: &T) -> bool {
unsafe {
let addr: uint = ::cast::transmute(ptr);
let addr: uint = cast::transmute(ptr);
(addr % sys::min_align_of::<T>()) == 0
}
}