compilation fix for 32-bit arm
This commit is contained in:
parent
938d8a752f
commit
bca92fbf8d
|
@ -59,7 +59,7 @@ impl RealClocks {
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut ts = mem::uninitialized();
|
let mut ts = mem::uninitialized();
|
||||||
assert_eq!(0, libc::clock_gettime(clock, &mut ts));
|
assert_eq!(0, libc::clock_gettime(clock, &mut ts));
|
||||||
Timespec::new(ts.tv_sec, ts.tv_nsec as i32)
|
Timespec::new(ts.tv_sec as i64, ts.tv_nsec as i32)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue