From 4f5211cc3972e6eda369e1d225bf0ee77ffb9fd2 Mon Sep 17 00:00:00 2001 From: Soren Jorvang Date: Sun, 16 Jan 2011 17:56:26 +0000 Subject: [PATCH] Cast size_t to unsigned long for printing. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6864 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/InputConfigDiag.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()