$OpenBSD: patch-src_ProfileManager_cpp,v 1.2 2021/02/24 12:09:25 espie Exp $

Fix for Clang 6.
Handpicked from upstream commit 8660d49aae9e4e357d750ffd1dbb7ef850b2b76d.

Index: src/ProfileManager.cpp
--- src/ProfileManager.cpp.orig
+++ src/ProfileManager.cpp
@@ -219,7 +219,7 @@ bool ProfileManager::LoadLocalProfileFromMachine( Play
 void ProfileManager::GetMemoryCardProfileDirectoriesToTry( vector<RString> &asDirsToTry )
 {
 	/* Try to load the preferred profile. */
-	asDirsToTry.push_back( PREFSMAN->m_sMemoryCardProfileSubdir );
+	asDirsToTry.push_back( PREFSMAN->m_sMemoryCardProfileSubdir.ToString() );
 
 	/* If that failed, try loading from all fallback directories. */
 	split( g_sMemoryCardProfileImportSubdirs, ";", asDirsToTry, true );
