avoid compiler warnings

This commit is contained in:
Dietmar Maurer
2020-05-18 11:35:56 +02:00
parent 6c5024b050
commit 07ce44a633
2 changed files with 3 additions and 3 deletions

View File

@ -157,8 +157,8 @@ impl ChunkStore {
let (chunk_path, _digest_str) = self.chunk_path(digest);
const UTIME_NOW: i64 = ((1 << 30) - 1);
const UTIME_OMIT: i64 = ((1 << 30) - 2);
const UTIME_NOW: i64 = (1 << 30) - 1;
const UTIME_OMIT: i64 = (1 << 30) - 2;
let times: [libc::timespec; 2] = [
libc::timespec { tv_sec: 0, tv_nsec: UTIME_NOW },