mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-11-22 13:58:11 -05:00
Change enum type to i64
This commit is contained in:
parent
94ae155a5b
commit
2b9fe2f3fe
@ -12,7 +12,7 @@ pub enum KError<'a> {
|
|||||||
MissingRoot,
|
MissingRoot,
|
||||||
MissingParent,
|
MissingParent,
|
||||||
UnexpectedContents { actual: &'a [u8] },
|
UnexpectedContents { actual: &'a [u8] },
|
||||||
UnknownVariant(u64),
|
UnknownVariant(i64),
|
||||||
}
|
}
|
||||||
pub type KResult<'a, T> = Result<T, KError<'a>>;
|
pub type KResult<'a, T> = Result<T, KError<'a>>;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user