Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix a couple of compiler warnings that have cropped up.
  • Loading branch information
glennricster committed Jul 10, 2013
1 parent 1f6b70b commit 8b65775
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Source/Core/DolphinWX/Src/InputConfigDiag.cpp
Expand Up @@ -239,7 +239,6 @@ void GamepadPage::UpdateGUI()
std::vector<ControlButton*>::const_iterator i = (*g)->control_buttons.begin()
, e = (*g)->control_buttons.end();
for (; i!=e; ++i) {
ControllerInterface::ControlReference *r = (*i)->control_reference;
wxString expr = StrToWxStr((*i)->control_reference->expression);
expr.Replace("&", "&&");
(*i)->SetLabel(expr);
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Src/Main.cpp
Expand Up @@ -658,7 +658,7 @@ void Host_SetWiiMoteConnectionState(int _State)
// Update field 1 or 2
event.SetInt(1);

NOTICE_LOG(WIIMOTE, event.GetString().c_str());
NOTICE_LOG(WIIMOTE, "%s", static_cast<const char*>(event.GetString().c_str()));

main_frame->GetEventHandler()->AddPendingEvent(event);
}
Expand Down

0 comments on commit 8b65775

Please sign in to comment.