summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2011-01-16 17:56:26 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2011-01-16 17:56:26 +0000
commit4f5211cc3972e6eda369e1d225bf0ee77ffb9fd2 (patch)
tree36c2f116dbde49061146916cdd3c27239ddb529e /Source/Core
parent4a7d3ee1c8f959558fabb0a014bed7b8d3105854 (diff)
Cast size_t to unsigned long for printing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6864 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/InputConfigDiag.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Src/InputConfigDiag.cpp b/Source/Core/DolphinWX/Src/InputConfigDiag.cpp
index d0e8f7e617..a30ef5154b 100644
--- a/Source/Core/DolphinWX/Src/InputConfigDiag.cpp
+++ b/Source/Core/DolphinWX/Src/InputConfigDiag.cpp
@@ -240,7 +240,8 @@ void ControlDialog::UpdateGUI()
textctrl->SetValue(WXSTR_FROM_STR(control_reference->expression));
// updates the "bound controls:" label
- m_bound_label->SetLabel(wxString::Format(_("Bound Controls: %u"), control_reference->BoundCount()));
+ m_bound_label->SetLabel(wxString::Format(_("Bound Controls: %lu"),
+ (unsigned long)control_reference->BoundCount()));
};
void GamepadPage::UpdateGUI()