Commit 0147f033 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

audio: Cast fewer points to *mut pointers in pack/unpack func bindings

parent 1c1533d0
......@@ -126,7 +126,7 @@ impl AudioFormatInfo {
self.0,
flags.to_glib(),
dest.as_mut_ptr() as *mut _,
src.as_ptr() as *mut _,
src.as_ptr() as *const _,
nsamples as i32,
);
}
......@@ -159,7 +159,7 @@ impl AudioFormatInfo {
(self.0.pack_func.as_ref().unwrap())(
self.0,
flags.to_glib(),
src.as_ptr() as *mut _,
src.as_ptr() as *const _,
dest.as_mut_ptr() as *mut _,
nsamples as i32,
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment