From 7d94810d016dc12327cd390aeb618a7753418295 Mon Sep 17 00:00:00 2001 From: Isaac Andrade Date: Mon, 26 Aug 2024 22:12:05 -0600 Subject: [PATCH] Fix ino_t and ino_t32 types for POSIX linux. --- core/sys/posix/sys_stat.odin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/sys/posix/sys_stat.odin b/core/sys/posix/sys_stat.odin index aa3737361..906318bb9 100644 --- a/core/sys/posix/sys_stat.odin +++ b/core/sys/posix/sys_stat.odin @@ -428,8 +428,8 @@ when ODIN_OS == .Darwin { UTIME_OMIT :: -1 } else when ODIN_OS == .Linux { - ino_t :: distinct c.unit64_t - ino_t32 :: distinct c.unit32_t + ino_t :: distinct u64 + ino_t32 :: distinct u32 } else { #panic("posix is unimplemented for the current target") }