Skip to content

Commit

Permalink
fix for build destros ci
Browse files Browse the repository at this point in the history
  • Loading branch information
absolutelightning committed Aug 31, 2023
1 parent c52fb47 commit 43d1e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logging/logfile_bsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

0 comments on commit 43d1e7f

Please sign in to comment.