mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Changed a cast from C style to C++ style.
This commit is contained in:
parent
8d2929a990
commit
90f4c29048
|
@ -81,7 +81,7 @@ int launchEmulatorUnix(const std::string& cmd_utf8)
|
||||||
std::string commandOutput;
|
std::string commandOutput;
|
||||||
int returnValue;
|
int returnValue;
|
||||||
|
|
||||||
if (!(commandPipe = (FILE*)popen(command.c_str(), "r"))) {
|
if (!(commandPipe = reinterpret_cast<FILE*>(popen(command.c_str(), "r")))) {
|
||||||
LOG(LogError) << "Couldn't open pipe to command.";
|
LOG(LogError) << "Couldn't open pipe to command.";
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue