summaryrefslogtreecommitdiff
path: root/src/utils/zlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/zlib.cpp')
-rw-r--r--src/utils/zlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/zlib.cpp b/src/utils/zlib.cpp
index 8234766e..773c7484 100644
--- a/src/utils/zlib.cpp
+++ b/src/utils/zlib.cpp
@@ -135,7 +135,7 @@ int inflateMemory(unsigned char *in, unsigned int inLength,
void *loadCompressedFile(const std::string &filename, int &filesize)
{
std::ifstream file;
- file.open(filename.c_str(), std::ios::in);
+ file.open(filename, std::ios::in);
if (file.is_open())
{