Skip to content

Instantly share code, notes, and snippets.

@jfo
Last active November 9, 2017 20:14
Show Gist options
  • Save jfo/38a182e586487dbd80d455f2fd7be11f to your computer and use it in GitHub Desktop.
Save jfo/38a182e586487dbd80d455f2fd7be11f to your computer and use it in GitHub Desktop.
diff --git a/std/c/darwin.zig b/std/c/darwin.zig
index 7ce29b50..1de48ec3 100644
--- a/std/c/darwin.zig
+++ b/std/c/darwin.zig
@@ -9,22 +9,22 @@ pub const Stat = extern struct {
dev: u32,
mode: u16,
nlink: u16,
- ino: u64,
+ ino: u16,
uid: u32,
gid: u32,
- rdev: u64,
+ rdev: i32,
atim: timespec,
mtim: timespec,
ctim: timespec,
- size: u64,
- blocks: u64,
- blksize: u32,
+ size: i64,
+ blocks: i64,
+ blksize: i32,
flags: u32,
gen: u32,
lspare: i32,
- qspare: [2]u64,
+ qspare: [2]i64,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment