threadshare: Use into_glib_ptr() instead of into_ptr()

This commit is contained in:
Sebastian Dröge 2022-05-08 11:51:01 +03:00
parent 817231b4d0
commit 2f16b5dd3e

View file

@ -83,7 +83,7 @@ impl RTPJitterBufferItem {
ptr::write(
ptr.as_ptr(),
ffi::RTPJitterBufferItem {
data: buffer.into_ptr() as *mut _,
data: buffer.into_glib_ptr() as *mut _,
next: ptr::null_mut(),
prev: ptr::null_mut(),
r#type: 0,