about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-07 01:51:39 -0800
committerbors <bors@rust-lang.org>2014-01-07 01:51:39 -0800
commitbc395bc71e02a7726565725ce026758f948b2d76 (patch)
tree86576b45e6b489f635fdca29bc4687c7ebd3be96 /src/libstd/rt
parent777f1e8d24a5816a7ca1308ef4243201a6b81221 (diff)
parent82365501043735dd8ec5eadaa5d30354cee19252 (diff)
downloadrust-bc395bc71e02a7726565725ce026758f948b2d76.tar.gz
rust-bc395bc71e02a7726565725ce026758f948b2d76.zip
auto merge of #11329 : fhahn/rust/unused-cast-lint2, r=alexcrichton
Updates as mentioned in #11135
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/global_heap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/global_heap.rs b/src/libstd/rt/global_heap.rs
index 385bb0b276c..c094344f6b9 100644
--- a/src/libstd/rt/global_heap.rs
+++ b/src/libstd/rt/global_heap.rs
@@ -76,7 +76,7 @@ pub unsafe fn closure_exchange_malloc(td: *c_char, size: uintptr_t) -> *c_char {
     assert!(td.is_not_null());
 
     let total_size = get_box_size(size, (*td).align);
-    let p = malloc_raw(total_size as uint);
+    let p = malloc_raw(total_size);
 
     let alloc = p as *mut raw::Box<()>;
     (*alloc).type_desc = td;