summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
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);