Skip to content

Commit

Permalink
Fix arm build (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
MeirShpilraien authored Jun 13, 2023
1 parent 4f82bce commit 736597e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/server_events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 736597e

Please sign in to comment.