summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-25 13:45:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-25 13:45:24 +0300
commit5ed1a97e5e9d48169d274230e7dd194dc6310edc (patch)
tree16b1bf070ccb097feed1868486250a5d2f33da75 /src/resources
parent8d9174b86d85474f3ebd6314232864c8d0c575ce (diff)
downloadmanaverse-5ed1a97e5e9d48169d274230e7dd194dc6310edc.tar.gz
manaverse-5ed1a97e5e9d48169d274230e7dd194dc6310edc.tar.bz2
manaverse-5ed1a97e5e9d48169d274230e7dd194dc6310edc.tar.xz
manaverse-5ed1a97e5e9d48169d274230e7dd194dc6310edc.zip
dont use void pointer type.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index ebf2f94bd..5cdb22e96 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -968,7 +968,7 @@ bool ResourceManager::copyFile(const std::string &src,
}
const int fileSize = static_cast<const int>(PHYSFS_fileLength(srcFile));
- void *buf = new char[fileSize];
+ char *buf = new char[fileSize];
PHYSFS_read(srcFile, buf, 1, fileSize);
PHYSFS_write(dstFile, buf, 1, fileSize);