Skip to content

Commit

Permalink
SeriousSkaStudio: Fixed conversion of pointers to 32 bits (Win)
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed Oct 12, 2023
1 parent 97dfcd0 commit 43b412b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion SamTFE/Sources/SeriousSkaStudio/ColoredButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ CColoredButton::OnToolHitTest( CPoint point, TOOLINFO* pTI ) const
rectToolTip.top = 50;
rectToolTip.bottom = 60;
pTI->hwnd = GetParent()->m_hWnd;
pTI->uId = (UINT) m_hWnd;
pTI->uId = (DWORD_PTR) m_hWnd;
pTI->rect = rectToolTip;
pTI->uFlags = TTF_IDISHWND;
return 1;
Expand Down
2 changes: 1 addition & 1 deletion SamTSE/Sources/SeriousSkaStudio/ColoredButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ CColoredButton::OnToolHitTest( CPoint point, TOOLINFO* pTI ) const
rectToolTip.top = 50;
rectToolTip.bottom = 60;
pTI->hwnd = GetParent()->m_hWnd;
pTI->uId = (UINT) m_hWnd;
pTI->uId = (DWORD_PTR) m_hWnd;
pTI->rect = rectToolTip;
pTI->uFlags = TTF_IDISHWND;
return 1;
Expand Down

0 comments on commit 43b412b

Please sign in to comment.