From 2a58e6de8f0cb35b54883b822b11e18f0e49a63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 28 May 2024 09:06:57 +0300 Subject: [PATCH] gstreamer: ptp-helper: Use u64 instead of c_ulong for ifa_flags on Solaris/Illumos See https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3553#note_2429400 Patch by Marcel Telka . Part-of: --- subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs b/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs index 1f8c6457c8..0d9a6893ee 100644 --- a/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs +++ b/subprojects/gstreamer/libs/gst/helpers/ptp/ffi.rs @@ -230,7 +230,7 @@ pub mod unix { ))] pub type IfaFlags = c_uint; #[cfg(any(target_os = "solaris", target_os = "illumos"))] - pub type IfaFlags = c_ulong; + pub type IfaFlags = u64; pub const IFF_UP: IfaFlags = 0x1; pub const IFF_LOOPBACK: IfaFlags = 0x8;