summaryrefslogtreecommitdiffstats
path: root/src/kuarantine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kuarantine.cpp')
-rw-r--r--src/kuarantine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kuarantine.cpp b/src/kuarantine.cpp
index b25db2c..ac25608 100644
--- a/src/kuarantine.cpp
+++ b/src/kuarantine.cpp
@@ -545,7 +545,7 @@ void Kuarantine::createQuarDir(){
if (!klamavqdir.exists() && !klamavqdir.mkdir(path))
ok = false;
else
- chmod((const char *)path,0700);
+ chmod(path.ascii(),0700);
}
if (ok){