Fix a bunch of Windows UI x64 conversion warnings.

This commit is contained in:
Unknown W. Brackets committed 2013-04-05 20:28:58 -07:00
1 parent 89c569612a
commit 4ebd3aaceb
5 files changed
+42 -41

No files matched your search

+5 -5
View File
@@ -82,11 +82,11 @@ BOOL CMemoryDlg::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
case LBN_DBLCLK:
case LBN_SELCHANGE:
{
HWND lb =GetDlgItem(m_hDlg,LOWORD(wParam));
int n =ComboBox_GetCurSel(lb);
HWND lb = GetDlgItem(m_hDlg,LOWORD(wParam));
int n = ComboBox_GetCurSel(lb);
if (n!=-1)
{
LONG_PTR addr = ComboBox_GetItemData(lb,n);
unsigned int addr = (unsigned int)ComboBox_GetItemData(lb,n);
mv->gotoAddr(addr);
}
}
@@ -100,8 +100,8 @@ BOOL CMemoryDlg::DlgProc(UINT message, WPARAM wParam, LPARAM lParam)
case LBN_SELCHANGE:
{
HWND lb =GetDlgItem(m_hDlg,LOWORD(wParam));
int n =ListBox_GetCurSel(lb);
HWND lb = GetDlgItem(m_hDlg,LOWORD(wParam));
int n = ListBox_GetCurSel(lb);
if (n!=-1)
{
unsigned int addr = (unsigned int)ListBox_GetItemData(lb,n);