Fixes for language changes

This commit is contained in:
Patrick Walton
2012-09-13 16:19:07 -07:00
parent 97addf5f31
commit f0bda24a03
+3 -3
View File
@@ -3,7 +3,7 @@ use dvec::DVec;
use libc::c_void;
use ptr::to_unsafe_ptr;
use unsafe::reinterpret_cast;
use vec::unsafe::to_ptr;
use vec::raw::to_ptr;
pub type CFDictionaryRetainCallBack = *u8;
pub type CFDictionaryReleaseCallBack = *u8;
@@ -59,8 +59,8 @@ mod CFDictionary {
}
assert keys.len() == values.len();
let keys = vec::from_mut(dvec::unwrap(keys));
let values = vec::from_mut(dvec::unwrap(values));
let keys = dvec::unwrap(keys);
let values = dvec::unwrap(values);
let dictionary_ref;
unsafe {