Skip to content

Commit

Permalink
[Ref] Silence warning.
Browse files Browse the repository at this point in the history
git-svn-id: https://source.openmpt.org/svn/openmpt/trunk/OpenMPT@22683 56274372-70c3-4bfc-bfc3-4c3a0b034d27
  • Loading branch information
sagamusix committed Jan 1, 2025
1 parent 861b0f8 commit 026fb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mptrack/DialogBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ BOOL DialogBase::OnToolTipText(UINT, NMHDR *pNMHDR, LRESULT *pResult)
if(s.IsEmpty())
return FALSE;

if(s.GetLength() < std::size(pTTT->szText))
if(s.GetLength() < static_cast<int>(std::size(pTTT->szText)))
{
mpt::String::WriteCStringBuf(pTTT->szText) = s;
} else
Expand Down

0 comments on commit 026fb16

Please sign in to comment.