diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-25 13:45:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-25 13:45:24 +0300 |
commit | 5ed1a97e5e9d48169d274230e7dd194dc6310edc (patch) | |
tree | 16b1bf070ccb097feed1868486250a5d2f33da75 /src/resources | |
parent | 8d9174b86d85474f3ebd6314232864c8d0c575ce (diff) | |
download | plus-5ed1a97e5e9d48169d274230e7dd194dc6310edc.tar.gz plus-5ed1a97e5e9d48169d274230e7dd194dc6310edc.tar.bz2 plus-5ed1a97e5e9d48169d274230e7dd194dc6310edc.tar.xz plus-5ed1a97e5e9d48169d274230e7dd194dc6310edc.zip |
dont use void pointer type.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resourcemanager.cpp | 2 |
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); |