forked from mirrors/gstreamer-rs
ptp_clock: fix build on windows
c_ulong/gulong can be 32bit or 64bit depending on the platform. Always cast it to u64 so the compiler will be happy.
This commit is contained in:
parent
4d7bd9bfcb
commit
7075a4b3ea
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ impl PtpClock {
|
||||||
);
|
);
|
||||||
assert_ne!(id, 0);
|
assert_ne!(id, 0);
|
||||||
|
|
||||||
PtpStatisticsCallback(NonZeroU64::new_unchecked(id))
|
PtpStatisticsCallback(NonZeroU64::new_unchecked(id as u64))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue