Stop using int/uint in script.

This commit is contained in:
Ms2ger 2015-04-03 13:30:30 +02:00
parent 74f8c0eeb7
commit c2e81be8a5
12 changed files with 23 additions and 24 deletions

View file

@ -45,7 +45,7 @@ impl<'a> NamedNodeMapMethods for JSRef<'a, NamedNodeMap> {
// FIXME(https://github.com/rust-lang/rust/issues/23338)
let owner = owner.r();
let attrs = owner.attrs();
attrs.as_slice().get(index as uint).map(|x| Temporary::new(x.clone()))
attrs.as_slice().get(index as usize).map(|x| Temporary::new(x.clone()))
}
fn IndexedGetter(self, index: u32, found: &mut bool) -> Option<Temporary<Attr>> {