Clean up os2.File.impl usage

This commit is contained in:
gingerBill committed 2024-07-14 15:26:59 +01:00
1 parent 2d56e3805b
commit 5de6016e7f
4 files changed
+111 -119

No files matched your search

+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)
}