Return usize from IDLInterface::get_prototype_depth.

It is used as an index into an array.
This commit is contained in:
Ms2ger 2015-02-20 14:41:16 +01:00
parent c84dfa0f1d
commit a3fedee46e
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ pub trait IDLInterface {
fn get_prototype_id() -> PrototypeList::ID;
/// Returns the prototype depth, i.e., the number of interfaces this
/// interface inherits from.
fn get_prototype_depth() -> uint;
fn get_prototype_depth() -> usize;
}
/// A trait to convert Rust types to `JSVal`s.