diff --git a/Tests/Plugin/src/example_exe.cxx b/Tests/Plugin/src/example_exe.cxx index bc4b03ebc..12d92041a 100644 --- a/Tests/Plugin/src/example_exe.cxx +++ b/Tests/Plugin/src/example_exe.cxx @@ -32,7 +32,7 @@ int main() if(!handle) { std::cerr << "Could not open plugin \"" - << libName << "\"!" << std::endl; + << libName.c_str() << "\"!" << std::endl; return 1; } kwsys::DynamicLoader::SymbolPointer sym =