summaryrefslogtreecommitdiff
path: root/plugins/FTPFileYM/src/job_packer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FTPFileYM/src/job_packer.cpp')
-rw-r--r--plugins/FTPFileYM/src/job_packer.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/FTPFileYM/src/job_packer.cpp b/plugins/FTPFileYM/src/job_packer.cpp
index 2e81e57c89..51fa387860 100644
--- a/plugins/FTPFileYM/src/job_packer.cpp
+++ b/plugins/FTPFileYM/src/job_packer.cpp
@@ -141,9 +141,7 @@ int PackerJob::createZipFile()
{
int result = ZIP_ERRNO;
- char *filePath = mir_t2a(this->stzFilePath);
- zipFile zf = zipOpen2(filePath, 0, NULL, NULL);
- FREE(filePath);
+ zipFile zf = zipOpen2_64(this->stzFilePath, 0, NULL, NULL);
if (zf != NULL)
{