diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-05 01:51:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-05 01:51:21 +0300 |
commit | 9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0 (patch) | |
tree | 8a3356497ca1d8da1d4ba8ba0629aa1829111364 /src/fs/virtfs/virtfsziprwops.cpp | |
parent | 7594ad94dfdf580a82fb07ddb346442160b3d91d (diff) | |
download | manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.gz manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.bz2 manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.tar.xz manaverse-9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0.zip |
Rename virtfile into file.
Diffstat (limited to 'src/fs/virtfs/virtfsziprwops.cpp')
-rw-r--r-- | src/fs/virtfs/virtfsziprwops.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/fs/virtfs/virtfsziprwops.cpp b/src/fs/virtfs/virtfsziprwops.cpp index aecd3c5f5..5d21d70b0 100644 --- a/src/fs/virtfs/virtfsziprwops.cpp +++ b/src/fs/virtfs/virtfsziprwops.cpp @@ -22,7 +22,7 @@ #include "logger.h" -#include "fs/virtfs/virtfile.h" +#include "fs/virtfs/file.h" #include "fs/virtfs/virtfs.h" #include <SDL_rwops.h> @@ -40,7 +40,7 @@ namespace VirtFsZip { if (!rw) return -1; - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); size_t mPos = handle->mPos; size_t mSize = handle->mSize; @@ -110,7 +110,7 @@ namespace VirtFsZip { if (!rw) return 0; - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); const int64_t rc = VirtFs::read(handle, ptr, CAST_U32(size), @@ -130,7 +130,7 @@ namespace VirtFsZip { if (!rw) return 0; - VirtFile *const handle = static_cast<VirtFile*>( + File *const handle = static_cast<File*>( rw->hidden.unknown.data1); delete handle; SDL_FreeRW(rw); @@ -142,7 +142,7 @@ namespace VirtFsZip { if (!rw) return 0; - VirtFile *const handle = static_cast<VirtFile *const>( + File *const handle = static_cast<File *const>( rw->hidden.unknown.data1); return handle->mSize; } |