mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Return usize from IDLInterface::get_prototype_depth.
It is used as an index into an array.
This commit is contained in:
parent
c84dfa0f1d
commit
a3fedee46e
2 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue