From c06676f232466dcc7917299b75f5296ff830b01c Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Mon, 25 Jan 2021 15:34:56 +0200 Subject: Fixed some TQString->const char * casts. Signed-off-by: Mavridis Philippe --- src/kuarantine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kuarantine.cpp') 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){ -- cgit v1.2.1