mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-31 04:25:40 +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;
|
||||
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.";
|
||||
return -1;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue