From f36d5fdbdf1abd3d305e04c57181284965c931fc Mon Sep 17 00:00:00 2001 From: Ty Lamontagne Date: Sun, 21 Nov 2021 15:54:41 -0500 Subject: [PATCH] Debugger: Format search hits with proper specifier --- pcsx2/gui/Debugger/CtrlMemSearch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/gui/Debugger/CtrlMemSearch.cpp b/pcsx2/gui/Debugger/CtrlMemSearch.cpp index 8100a6b5bd..d90544966c 100644 --- a/pcsx2/gui/Debugger/CtrlMemSearch.cpp +++ b/pcsx2/gui/Debugger/CtrlMemSearch.cpp @@ -298,7 +298,7 @@ void CtrlMemSearch::onSearchFinished(wxCommandEvent& evt) m_searchResultsMutex.lock(); - lblSearchHits->SetLabelText(wxString::Format(L"Hits: %d", m_searchResults.size())); + lblSearchHits->SetLabelText(wxString::Format(L"Hits: %zu", m_searchResults.size())); // Enable the buttons only if we have results // -1 indicates we haven't jumped to a result yet