From 5ed1a97e5e9d48169d274230e7dd194dc6310edc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Oct 2013 13:45:24 +0300 Subject: dont use void pointer type. --- src/resources/resourcemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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); -- cgit v1.2.3-70-g09d2