Change enum type to i64

master
Bradlee Speice 2019-05-06 12:24:42 -04:00
parent 94ae155a5b
commit 2b9fe2f3fe
1 changed files with 1 additions and 1 deletions

View File

@ -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>>;