From 43d1e7f8688daac96b407c9d52f062d322cd4a73 Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Thu, 31 Aug 2023 23:49:07 +0530 Subject: [PATCH] fix for build destros ci --- logging/logfile_bsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logging/logfile_bsd.go b/logging/logfile_bsd.go index 593da2bcc8bc..d81d065be1ce 100644 --- a/logging/logfile_bsd.go +++ b/logging/logfile_bsd.go @@ -12,5 +12,5 @@ import ( func (l *LogFile) createTime(stat os.FileInfo) time.Time { stat_t := stat.Sys().(*syscall.Stat_t) createTime := stat_t.Ctimespec - return time.Unix(createTime.Sec, createTime.Nsec) + return time.Unix(int64(createTime.Sec), int64(createTime.Nsec)) }