Clean up os2.File.impl usage

This commit is contained in:
gingerBill
2024-07-14 15:26:59 +01:00
parent 2d56e3805b
commit 5de6016e7f
4 changed files with 111 additions and 119 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import "core:sys/linux"
import "core:path/filepath"
_fstat :: proc(f: ^File, allocator: runtime.Allocator) -> (File_Info, Error) {
impl := (^_File)(f.impl)
impl := (^File_Impl)(f.impl)
return _fstat_internal(impl.fd, allocator)
}