From e949341b705c16b46544f26f5aab0a16670f42b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sat, 20 Jun 2026 11:12:45 +0200 Subject: [PATCH] Revert "std.os.linux: fix kernel_timespec.nsec to be isize" This reverts commit af88310caf86b1b1e84d9f0764af522b402241b2. I conflated __kernel_timespec with __kernel_old_timespec. i64 is correct. --- lib/std/os/linux.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/os/linux.zig b/lib/std/os/linux.zig index aeecb8c1b499313efc00b40711359f4e85f87d18..dc22fc6db21bdcf83d929ace73f37594fc0d5982 100644 --- a/lib/std/os/linux.zig +++ b/lib/std/os/linux.zig @@ -9438,7 +9438,7 @@ pub const timezone = extern struct { /// The timespec struct used by the kernel. pub const kernel_timespec = extern struct { sec: i64, - nsec: isize, + nsec: i64, /// For use with `utimensat` and `futimens`. pub const NOW: timespec = .{ -- 2.54.0