We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96aa7b0 commit fba4adeCopy full SHA for fba4ade
glib/src/source.rs
@@ -1092,9 +1092,9 @@ where
1092
ffi::g_source_set_callback(
1093
source,
1094
Some(transmute::<
1095
- *const (),
+ *mut (),
1096
unsafe extern "C" fn(ffi::gpointer) -> ffi::gboolean,
1097
- >(trampoline_child_watch::<F> as *const ())),
+ >(trampoline_child_watch::<F> as *mut ())),
1098
into_raw_child_watch(func),
1099
Some(destroy_closure_child_watch::<F>),
1100
);
0 commit comments