Skip to content

Commit 4fccad5

Browse files
committed
Disk (macOS): silense compiler warnings
1 parent ec18363 commit 4fccad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/disk/disk_bsd.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const char* ffDetectDisksImpl(FFDiskOptions* options, FFlist* disks)
185185
#ifndef __DragonFly__
186186
struct stat st;
187187
if(stat(fs->f_mntonname, &st) == 0 && st.st_birthtimespec.tv_sec > 0)
188-
disk->createTime = (uint64_t)(((uint64_t) st.st_birthtimespec.tv_sec * 1000) + (st.st_birthtimespec.tv_nsec / 1000000));
188+
disk->createTime = (uint64_t)(((uint64_t) st.st_birthtimespec.tv_sec * 1000) + ((uint64_t) st.st_birthtimespec.tv_nsec / 1000000));
189189
#endif
190190
}
191191

0 commit comments

Comments
 (0)