mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(Windows) Fixed a MinGW compile error.
This commit is contained in:
parent
44fbfbb93b
commit
345906a97f
|
@ -714,7 +714,7 @@ void GuiOrphanedDataCleanup::cleanupCollections()
|
|||
std::ifstream configFileSource;
|
||||
|
||||
#if defined(_WIN64)
|
||||
configFileSource.open(Utils::String::stringToWideString(collectionFile));
|
||||
configFileSource.open(Utils::String::stringToWideString(collectionFile).c_str());
|
||||
#else
|
||||
configFileSource.open(collectionFile);
|
||||
#endif
|
||||
|
@ -794,7 +794,7 @@ void GuiOrphanedDataCleanup::cleanupCollections()
|
|||
else {
|
||||
std::ofstream configFileTarget;
|
||||
#if defined(_WIN64)
|
||||
configFileTarget.open(Utils::String::stringToWideString(tempFile));
|
||||
configFileTarget.open(Utils::String::stringToWideString(tempFile).c_str());
|
||||
#else
|
||||
configFileTarget.open(tempFile);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue