ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
11 stars 5 forks source link

Failure to build for 32 bit #947

Closed jw3 closed 8 months ago

jw3 commented 9 months ago
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`.