Skip to content

Commit 736597e

Browse files
author
Meir Shpilraien (Spielrein)
authored
Fix arm build (#344)
1 parent 4f82bce commit 736597e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context/server_events.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ extern "C" fn config_change_event_callback(
137137
let config_names: Vec<_> = (0..data.num_changes)
138138
.into_iter()
139139
.map(|i| unsafe {
140-
let name = *data.config_names.offset(i as isize) as *mut i8;
140+
let name = *data.config_names.offset(i as isize);
141141
CStr::from_ptr(name)
142142
})
143143
.collect();

0 commit comments

Comments
 (0)