diff --git a/ctru-rs/src/error.rs b/ctru-rs/src/error.rs index 3a702a4..650ab7a 100644 --- a/ctru-rs/src/error.rs +++ b/ctru-rs/src/error.rs @@ -9,7 +9,7 @@ pub type Result = ::std::result::Result; #[derive(Debug, Copy, Clone, PartialEq, PartialOrd, Eq, Ord)] #[repr(transparent)] -pub(crate) struct ResultCode(pub i32); +pub(crate) struct ResultCode(pub ctru_sys::Result); impl Try for ResultCode { type Output = ();