mirror of
https://github.com/WerWolv/ImHex-Patterns.git
synced 2026-04-02 21:47:39 -05:00
includes/std: Fix passing std::file::Mode enum to builtin function
This commit is contained in:
@@ -12,7 +12,7 @@ namespace std::file {
|
|||||||
|
|
||||||
|
|
||||||
fn open(str path, Mode mode) {
|
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) {
|
fn close(Handle handle) {
|
||||||
|
|||||||
Reference in New Issue
Block a user