diff options
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 7f81cdddf1..726b57b991 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -138,7 +138,7 @@ File::~File() { delete [] _name; } -bool File::open(const char *filename, const char *directory, int mode, byte encbyte) { +bool File::open(const char *filename, const char *directory, AccessMode mode, byte encbyte) { if (_handle) { debug(2, "File %s already opened", filename); return false; |