diff --git a/litebox_common_linux/src/lib.rs b/litebox_common_linux/src/lib.rs index 9986ef105..e20271ff5 100644 --- a/litebox_common_linux/src/lib.rs +++ b/litebox_common_linux/src/lib.rs @@ -771,10 +771,10 @@ pub struct Ucred { cfg_if::cfg_if! { if #[cfg(all(target_arch = "x86"))] { pub type time_t = i32; - pub type suseconds_t = u32; + pub type suseconds_t = i32; } else if #[cfg(all(target_arch = "x86_64"))] { pub type time_t = i64; - pub type suseconds_t = u64; + pub type suseconds_t = i64; } else { compile_error!("Unsupported architecture"); }