os2: fixes after rebasing

This commit is contained in:
Laytan Laats
2024-08-14 01:44:37 +02:00
parent e05fddc001
commit ea5783c2ac
2 changed files with 19 additions and 12 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ internal_stat :: proc(stat: posix.stat_t, fullpath: string) -> (fi: File_Info) {
fi.fullpath = fullpath
fi.name = filepath.base(fi.fullpath)
fi.inode = u64(stat.st_ino)
fi.inode = u128(stat.st_ino)
fi.size = i64(stat.st_size)
fi.mode = int(transmute(posix._mode_t)(stat.st_mode - posix._S_IFMT))
fi.mode = int(transmute(posix._mode_t)(stat.st_mode - posix.S_IFMT))
fi.type = .Undetermined
switch {