mirror of
https://github.com/bspeice/kaitai_rust
synced 2024-11-25 07:18:13 -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,
|
||||
MissingParent,
|
||||
UnexpectedContents { actual: &'a [u8] },
|
||||
UnknownVariant(u64),
|
||||
UnknownVariant(i64),
|
||||
}
|
||||
pub type KResult<'a, T> = Result<T, KError<'a>>;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user