Skip to content

Commit

Permalink
Merge pull request #56 from kodi-game/fix-compile-error
Browse files Browse the repository at this point in the history
Fix compiler error on macOS
  • Loading branch information
garbear authored Oct 22, 2019
2 parents 687df7b + 8de714d commit 961f2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/settings/LibretroSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ void CLibretroSettings::SetAllSettings(const retro_variable* libretroVariables)
{
if (std::find(setting.Values().begin(), setting.Values().end(), valueBuf) != setting.Values().end())
{
dsyslog("Setting %s has value \"%s\" in Kodi", setting.Key().c_str(), valueBuf);
dsyslog("Setting %s has value \"%s\" in Kodi", setting.Key().c_str(), valueBuf.c_str());
setting.SetCurrentValue(valueBuf);
}
else
{
esyslog("Setting %s: invalid value \"%s\" (values are: %s)", setting.Key().c_str(), valueBuf, variable->value);
esyslog("Setting %s: invalid value \"%s\" (values are: %s)", setting.Key().c_str(), valueBuf.c_str(), variable->value);
bValid = false;
}
}
Expand Down

0 comments on commit 961f2aa

Please sign in to comment.