diff --git a/pkg/system/stat_unix_test.go b/pkg/system/stat_unix_test.go index d1001a9e25..3c25d7812d 100644 --- a/pkg/system/stat_unix_test.go +++ b/pkg/system/stat_unix_test.go @@ -31,7 +31,8 @@ func TestFromStatT(t *testing.T) { if stat.Gid != s.GID() { t.Fatal("got invalid gid") } - if stat.Rdev != s.Rdev() { + //nolint:unconvert // conversion needed to fix mismatch types on mips64el + if uint64(stat.Rdev) != s.Rdev() { t.Fatal("got invalid rdev") } if stat.Mtim != s.Mtim() {