diff --git a/includes/std/file.pat b/includes/std/file.pat index 18b9ceb..7197ace 100644 --- a/includes/std/file.pat +++ b/includes/std/file.pat @@ -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) {