diff --git a/src/source.cc b/src/source.cc index 73b7f8c..e361f28 100644 --- a/src/source.cc +++ b/src/source.cc @@ -1161,7 +1161,7 @@ Source::GenericView::GenericView(const boost::filesystem::path &file_path, Glib: bool found_language_file=false; boost::filesystem::path language_file; for(auto &search_path: search_paths) { - boost::filesystem::path p(std::string(search_path)+'/'+std::string(language->get_id())+".lang"); + boost::filesystem::path p(static_cast(search_path)+'/'+static_cast(language->get_id())+".lang"); if(boost::filesystem::exists(p) && boost::filesystem::is_regular_file(p)) { language_file=p; found_language_file=true;