fix LONG_PTR

This commit is contained in:
lsv 2024-02-06 09:05:59 +05:00
parent 2d7ac600c0
commit 9f3cfacf96
2 changed files with 12 additions and 12 deletions

View file

@ -1646,7 +1646,7 @@ CharacterRange ctlSQLBox::RegexFindText(int minPos, int maxPos, const wxString &
ft.lpstrText = (char *)(const char *)buf;
//
if (SendMsg(2150, wxSTC_FIND_REGEXP, (LONG_PTR)&ft) == -1)
if (SendMsg(2150, wxSTC_FIND_REGEXP, (std::uintptr_t)&ft) == -1)
{
ft.chrgText.cpMin = -1;
ft.chrgText.cpMax = -1;