summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/fsRows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/fsRows.cpp b/project2/fsRows.cpp
index 868eaa7..c8a711c 100644
--- a/project2/fsRows.cpp
+++ b/project2/fsRows.cpp
@@ -41,7 +41,7 @@ class FsRowSpecName : public FsRows::SpecBase {
// Based on code written by Jack Handy - jakkhandy@hotmail.com
// from http://www.codeproject.com/KB/string/wildcmp.aspx
Glib::ustring::const_iterator wild = pattern.begin();
- Glib::ustring leaf(curPath(fs).leaf().string());
+ Glib::ustring leaf(boost::lexical_cast<Glib::ustring>(curPath(fs).leaf()));
Glib::ustring::const_iterator string = leaf.begin();
while ((string != leaf.end()) && (*wild != '*')) {