From 4213fd51ccea4618d5c8f9e5e6af968a4f5e8bbd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 20 Oct 2012 14:48:50 +0000 Subject: [PATCH] Fix tests compilation in STL build after r72707. Add an explicit call to wxString::c_str() as there is no implicit conversion in STL build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/filename/filenametest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/filename/filenametest.cpp b/tests/filename/filenametest.cpp index 510cc64248..393858d7d4 100644 --- a/tests/filename/filenametest.cpp +++ b/tests/filename/filenametest.cpp @@ -698,7 +698,7 @@ void FileNameTestCase::TestExists() CPPUNIT_ASSERT( wxFileName::Exists("/dev/log", wxFILE_EXISTS_SOCKET) ); #endif // __LINUX__ wxString fifo = dirTemp.GetPath() + "/fifo"; - if (mkfifo(fifo, 0600) == 0) + if (mkfifo(fifo.c_str(), 0600) == 0) { wxON_BLOCK_EXIT1(wxRemoveFile, fifo); -- 2.47.2