[idd] helper: remove compiler warnings

This commit is contained in:
Quantum authored and Geoffrey McRae committed 2025-11-10 14:35:02 +11:00
1 parent 3ed08ba56c
commit af207a2fe1
3 files changed
+4 -4

No files matched your search

+1 -1
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;
}