Index: src/libchcore/TSubTaskScanDirectory.cpp =================================================================== diff -u -N -r0b8ae6ab8b538881b651126bf8e6de9c9912a782 -r2fe97a93f21771d75901d4b6559057d1ea055104 --- src/libchcore/TSubTaskScanDirectory.cpp (.../TSubTaskScanDirectory.cpp) (revision 0b8ae6ab8b538881b651126bf8e6de9c9912a782) +++ src/libchcore/TSubTaskScanDirectory.cpp (.../TSubTaskScanDirectory.cpp) (revision 2fe97a93f21771d75901d4b6559057d1ea055104) @@ -213,7 +213,7 @@ // log strFormat = _T("Adding file/folder (clipboard) : %path ..."); strFormat.Replace(_T("%path"), pathCurrent.ToString()); - rLog.logi(strFormat); + rLog.logi(strFormat.c_str()); // add if needed if(spFileInfo->IsDirectory()) @@ -227,14 +227,14 @@ // log strFormat = _T("Added folder %path"); strFormat.Replace(_T("%path"), spFileInfo->GetFullFilePath().ToString()); - rLog.logi(strFormat); + rLog.logi(strFormat.c_str()); } // don't add folder contents when moving inside one disk boundary // log strFormat = _T("Recursing folder %path"); strFormat.Replace(_t("%path"), spFileInfo->GetFullFilePath().ToString()); - rLog.logi(strFormat); + rLog.logi(strFormat.c_str()); ScanDirectory(spFileInfo->GetFullFilePath(), spBasePath, true, !bIgnoreDirs || bForceDirectories, rafFilters); @@ -256,7 +256,7 @@ // log strFormat = _T("Added file %path"); strFormat.Replace(_T("%path"), spFileInfo->GetFullFilePath().ToString()); - rLog.logi(strFormat); + rLog.logi(strFormat.c_str()); } }