mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05: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;
|
std::ifstream configFileSource;
|
||||||
|
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
configFileSource.open(Utils::String::stringToWideString(collectionFile));
|
configFileSource.open(Utils::String::stringToWideString(collectionFile).c_str());
|
||||||
#else
|
#else
|
||||||
configFileSource.open(collectionFile);
|
configFileSource.open(collectionFile);
|
||||||
#endif
|
#endif
|
||||||
|
@ -794,7 +794,7 @@ void GuiOrphanedDataCleanup::cleanupCollections()
|
||||||
else {
|
else {
|
||||||
std::ofstream configFileTarget;
|
std::ofstream configFileTarget;
|
||||||
#if defined(_WIN64)
|
#if defined(_WIN64)
|
||||||
configFileTarget.open(Utils::String::stringToWideString(tempFile));
|
configFileTarget.open(Utils::String::stringToWideString(tempFile).c_str());
|
||||||
#else
|
#else
|
||||||
configFileTarget.open(tempFile);
|
configFileTarget.open(tempFile);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue