diff options
author | Max Horn | 2003-12-25 17:52:25 +0000 |
---|---|---|
committer | Max Horn | 2003-12-25 17:52:25 +0000 |
commit | 88873d5b319457f9c92139d9da7828517a71ed9b (patch) | |
tree | 73625c6f1862bbac34b91db39abfe6f039cfa3f6 /common/file.cpp | |
parent | c07a290d8c147b7adf649dcd3943728437379738 (diff) | |
download | scummvm-rg350-88873d5b319457f9c92139d9da7828517a71ed9b.tar.gz scummvm-rg350-88873d5b319457f9c92139d9da7828517a71ed9b.tar.bz2 scummvm-rg350-88873d5b319457f9c92139d9da7828517a71ed9b.zip |
be stricter about File::open params
svn-id: r11919
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; |