Skip to content

Commit

Permalink
Fix Sign Mismatch Warning
Browse files Browse the repository at this point in the history
  • Loading branch information
NoMoreFood committed Oct 29, 2024
1 parent 4f4693b commit 83d67ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion windirstat/FileTabbedView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ BOOL CFileTabbedView::OnEraseBkgnd(CDC* /*pDC*/)

LRESULT CFileTabbedView::OnChangeActiveTab(WPARAM wp, LPARAM lp)
{
if (wp == m_FileDupeViewIndex && !COptions::ScanForDuplicates)
if (wp == static_cast<WPARAM>(m_FileDupeViewIndex) && !COptions::ScanForDuplicates)
{
AfxMessageBox(Localization::Lookup(IDS_DUPLICATES_DISABLED).c_str(), MB_OK | MB_ICONHAND);
return TRUE;
Expand Down

0 comments on commit 83d67ce

Please sign in to comment.