From 1689e788ebafa181df7def557ae4c48b8c7b9ce1 Mon Sep 17 00:00:00 2001 From: meir Date: Mon, 12 Jun 2023 18:28:59 +0300 Subject: [PATCH] Fix arm build --- src/context/server_events.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/server_events.rs b/src/context/server_events.rs index 85640f0d..b2de16ff 100644 --- a/src/context/server_events.rs +++ b/src/context/server_events.rs @@ -137,7 +137,7 @@ extern "C" fn config_change_event_callback( let config_names: Vec<_> = (0..data.num_changes) .into_iter() .map(|i| unsafe { - let name = *data.config_names.offset(i as isize) as *mut i8; + let name = *data.config_names.offset(i as isize); CStr::from_ptr(name) }) .collect();