Fix build error when cross compiling to 32bit targets (#430)
This commit is contained in:
parent
d28f559072
commit
b177bcdf22
|
@ -783,7 +783,7 @@ fn stream_timestamp(
|
|||
// Adapted from `timestamp2ns` here:
|
||||
// https://fossies.org/linux/alsa-lib/test/audio_time.c
|
||||
fn timespec_to_nanos(ts: libc::timespec) -> i64 {
|
||||
ts.tv_sec as i64 * 1_000_000_000 + ts.tv_nsec
|
||||
ts.tv_sec as i64 * 1_000_000_000 + ts.tv_nsec as i64
|
||||
}
|
||||
|
||||
// Adapted from `timediff` here:
|
||||
|
|
Loading…
Reference in New Issue