error[E0308]: mismatched types
--> crates/auparse/sys/src/event.rs:28:18
|
27 | pub fn ts(&self) -> i64 {
| --- expected `i64` because of return type
28 | unsafe { auparse_get_time(self.au.as_ptr()) }
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i64`, found `i32`
|
help: you can convert an `i32` to an `i64`
|
28 | unsafe { auparse_get_time(self.au.as_ptr()).into() }
| +++++++
For more information about this error, try `rustc --explain E0308`.