Fix incorrect filename encoding on Windows (DoM #2459). v1.8.59
authorCarl Hetherington <cth@carlh.net>
Fri, 17 Feb 2023 09:36:10 +0000 (10:36 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 17 Feb 2023 09:36:15 +0000 (10:36 +0100)
src/verify.cc

index 822037cadb6dfb520a93dd37692eecca7385b9de..ed6c78d600b70109fe7ae6ab7c2bcfe2f2ce0d7d 100644 (file)
@@ -278,7 +278,7 @@ private:
 static void
 parse (XercesDOMParser& parser, boost::filesystem::path xml)
 {
-       parser.parse(xml.string().c_str());
+       parser.parse(xml.c_str());
 }