includes/std: Fix passing std::file::Mode enum to builtin function

This commit is contained in:
Nik
2022-09-15 11:39:17 +02:00
committed by GitHub
parent ceb322019c
commit 073768fec3

View File

@@ -12,7 +12,7 @@ namespace std::file {
fn open(str path, Mode mode) {
return builtin::std::file::open(path, mode);
return builtin::std::file::open(path, u32(mode));
};
fn close(Handle handle) {