mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 23:58:50 +00:00
os2: fixes after rebasing
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user