[idd] helper: remove compiler warnings

This commit is contained in:
Quantum
2025-11-09 21:50:56 -05:00
parent 3ed08ba56c
commit 4882a3fbd6
3 changed files with 4 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ std::wstring CEditWidget::getValue()
{
std::wstring result;
result.resize(Edit_GetTextLength(m_hwnd));
Edit_GetText(m_hwnd, result.data(), result.size() + 1);
Edit_GetText(m_hwnd, result.data(), (int) (result.size() + 1));
return result;
}