diff --git a/core/src/connection.rs b/core/src/connection.rs index 3186f09..2b135bf 100644 --- a/core/src/connection.rs +++ b/core/src/connection.rs @@ -16,7 +16,7 @@ pub struct Connection { pub(crate) connection: std::sync::Arc>, } -extern "C" fn notice_processor(_arg: *mut std::ffi::c_void, message: *const i8) { +extern "C" fn notice_processor(_arg: *mut std::ffi::c_void, message: *const std::ffi::c_char) { let message = unsafe { std::ffi::CStr::from_ptr(message) }; log::info!("{}", message.to_str().unwrap().trim());