From 9d1c9937a9e24e6d1ed52dedca4852e57f8c21a0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 5 May 2017 01:51:21 +0300 Subject: Rename virtfile into file. --- src/fs/virtfs/virtfsziprwops.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fs/virtfs/virtfsziprwops.cpp') 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 @@ -40,7 +40,7 @@ namespace VirtFsZip { if (!rw) return -1; - VirtFile *const handle = static_cast( + File *const handle = static_cast( 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( + File *const handle = static_cast( 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( + File *const handle = static_cast( rw->hidden.unknown.data1); delete handle; SDL_FreeRW(rw); @@ -142,7 +142,7 @@ namespace VirtFsZip { if (!rw) return 0; - VirtFile *const handle = static_cast( + File *const handle = static_cast( rw->hidden.unknown.data1); return handle->mSize; } -- cgit v1.2.3-70-g09d2