diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-25 15:34:56 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-25 15:34:56 +0200 |
commit | c06676f232466dcc7917299b75f5296ff830b01c (patch) | |
tree | aacf02557175b245b1b68bbc8accda67cda586b3 /src/kuarantine.cpp | |
parent | 719d2f66dbdf7a70b084529acc888269a1743c1b (diff) | |
download | klamav-c06676f232466dcc7917299b75f5296ff830b01c.tar.gz klamav-c06676f232466dcc7917299b75f5296ff830b01c.zip |
Fixed some TQString->const char * casts.
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/kuarantine.cpp')
-rw-r--r-- | src/kuarantine.cpp | 2 |
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){ |