Make Gecko_ElementState return u16

This commit is contained in:
Xidorn Quan 2017-01-06 10:05:10 +11:00
parent 381651fd10
commit 0c913d5918
2 changed files with 2 additions and 2 deletions

View file

@ -337,7 +337,7 @@ impl<'le> TElement for GeckoElement<'le> {
fn get_state(&self) -> ElementState {
unsafe {
ElementState::from_bits_truncate(Gecko_ElementState(self.0) as u16)
ElementState::from_bits_truncate(Gecko_ElementState(self.0))
}
}