summaryrefslogtreecommitdiff
path: root/src/fs/virtfs
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-04 03:18:46 +0300
commit5612fb3a7f20a9385ba786bb25d25081b86259dd (patch)
treea7548d655f6f8d8298d94ce2f433dd287cde78bd /src/fs/virtfs
parent4431f40818f832e2cbae061927bdf59904cf5d3b (diff)
downloadManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.gz
ManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.bz2
ManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.tar.xz
ManaVerse-5612fb3a7f20a9385ba786bb25d25081b86259dd.zip
Fix code style.
Diffstat (limited to 'src/fs/virtfs')
-rw-r--r--src/fs/virtfs/fsdirrwops.cpp8
-rw-r--r--src/fs/virtfs/fsziprwops.cpp6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/fs/virtfs/fsdirrwops.cpp b/src/fs/virtfs/fsdirrwops.cpp
index bebace2e1..d0f9a3e6d 100644
--- a/src/fs/virtfs/fsdirrwops.cpp
+++ b/src/fs/virtfs/fsdirrwops.cpp
@@ -39,7 +39,7 @@ namespace FsDir
{
if (!rw)
return -1;
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
FILEHTYPE fd = handle->mFd;
RWOPSINT pos = 0;
@@ -151,7 +151,7 @@ namespace FsDir
{
if (!rw)
return 0;
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
FILEHTYPE fd = handle->mFd;
@@ -187,7 +187,7 @@ namespace FsDir
{
if (!rw)
return 0;
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
FILEHTYPE fd = handle->mFd;
@@ -230,7 +230,7 @@ namespace FsDir
#ifdef USE_SDL2
RWOPSINT rwops_size(SDL_RWops *const rw)
{
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
FILEHTYPE fd = handle->mFd;
#ifdef USE_FILE_FOPEN
diff --git a/src/fs/virtfs/fsziprwops.cpp b/src/fs/virtfs/fsziprwops.cpp
index ea053129c..efe1c3670 100644
--- a/src/fs/virtfs/fsziprwops.cpp
+++ b/src/fs/virtfs/fsziprwops.cpp
@@ -40,7 +40,7 @@ namespace FsZip
{
if (!rw)
return -1;
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
size_t mPos = handle->mPos;
size_t mSize = handle->mSize;
@@ -110,7 +110,7 @@ namespace FsZip
{
if (!rw)
return 0;
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
const int64_t rc = handle->funcs->read(handle,
@@ -144,7 +144,7 @@ namespace FsZip
{
if (!rw)
return 0;
- File *const handle = static_cast<File *const>(
+ File *const handle = static_cast<File *>(
rw->hidden.unknown.data1);
return handle->mSize;
}