compilation fix for 32-bit arm

This commit is contained in:
Scott Lamb 2016-12-30 06:35:10 -08:00
parent 938d8a752f
commit bca92fbf8d
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ impl RealClocks {
unsafe {
let mut ts = mem::uninitialized();
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)
}
}
}