summaryrefslogtreecommitdiffstats
path: root/src/klamscan.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2021-01-25 15:34:56 +0200
committerMavridis Philippe <[email protected]>2021-01-25 15:34:56 +0200
commitc06676f232466dcc7917299b75f5296ff830b01c (patch)
treeaacf02557175b245b1b68bbc8accda67cda586b3 /src/klamscan.cpp
parent719d2f66dbdf7a70b084529acc888269a1743c1b (diff)
downloadklamav-c06676f232466dcc7917299b75f5296ff830b01c.tar.gz
klamav-c06676f232466dcc7917299b75f5296ff830b01c.zip
Fixed some TQString->const char * casts.
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'src/klamscan.cpp')
-rw-r--r--src/klamscan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/klamscan.cpp b/src/klamscan.cpp
index 0015088..784398f 100644
--- a/src/klamscan.cpp
+++ b/src/klamscan.cpp
@@ -486,7 +486,7 @@ TQStringList Klamscan::pruneSelectedDirs(){
(*it) = (*it).stripWhiteSpace();
// replace block devices with mountpoints
- lstat( (*it), &sb );
+ lstat( (*it).ascii(), &sb );
if ( (sb.st_mode & S_IFMT) == S_IFBLK ) {
// This is actually from directorylist.cpp
DCOPRef mediamanager("kded", "mediamanager");