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

@ -1923,7 +1923,7 @@ impl IDLInterface for ${type} {
fn get_prototype_id() -> PrototypeList::ID {
PrototypeList::ID::${type}
}
fn get_prototype_depth() -> uint {
fn get_prototype_depth() -> usize {
${depth}
}
}