Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix c_char type error (i8 vs u8) when building on linux arm64
The error was following: ``` error[E0308]: mismatched types --> /home/[redacted]/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/elephantry-3.0.0/src/connection.rs:41:50 | 41 | connection.set_notice_processor(Some(notice_processor), std::ptr::null_mut()); | ---- ^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | | | arguments to this enum variant are incorrect | = note: expected fn pointer `unsafe extern "C" fn(_, *const u8)` found fn item `extern "C" fn(_, *const i8) {notice_processor}` ``` Relevant links: - rust-lang/rust#60226 - https://github.com/sportsball-ai/blackmagic-raw-rs/pull/3/files
- Loading branch information