From a392d8463ce99758474ded6eacd09f72c2fe5771 Mon Sep 17 00:00:00 2001 From: Christopher Schmidt Date: Mon, 18 Feb 2013 13:17:18 +0100 Subject: [PATCH] fix crash in plFileSecure --- Sources/Plasma/Apps/plFileSecure/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Plasma/Apps/plFileSecure/main.cpp b/Sources/Plasma/Apps/plFileSecure/main.cpp index 8ba44267..5210bae4 100644 --- a/Sources/Plasma/Apps/plFileSecure/main.cpp +++ b/Sources/Plasma/Apps/plFileSecure/main.cpp @@ -110,7 +110,7 @@ void SecureFiles(const plFileName& dir, const plString& ext, uint32_t* key) std::vector files = plFileSystem::ListDir(dir, ext.c_str()); for (auto iter = files.begin(); iter != files.end(); ++iter) { - printf("securing: %s\n", iter->GetFileName()); + printf("securing: %s\n", iter->GetFileName().c_str()); plSecureStream::FileEncrypt(*iter, key); } }