From a0216e21ff6d3885557d145c78c8547187cbc83a Mon Sep 17 00:00:00 2001 From: Sam Hartman Date: Fri, 14 Oct 2011 14:40:36 +0000 Subject: Fixed some warnings and Windows 64 portability issues in the leash executable Signed-off-by: Alexey Melnikov git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25338 dc483132-0cff-0310-8789-dd5450dbe970 --- src/windows/leash/LeashMessageBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/windows/leash/LeashMessageBox.cpp') diff --git a/src/windows/leash/LeashMessageBox.cpp b/src/windows/leash/LeashMessageBox.cpp index 0fd218229..fd96bc828 100644 --- a/src/windows/leash/LeashMessageBox.cpp +++ b/src/windows/leash/LeashMessageBox.cpp @@ -61,7 +61,7 @@ END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CLeashMessageBox message handlers -void CALLBACK CLeashMessageBox::MessageBoxTimer(HWND hwnd, UINT uiMsg, UINT idEvent, DWORD dwTime) +void CALLBACK CLeashMessageBox::MessageBoxTimer(HWND hwnd, UINT uiMsg, UINT_PTR idEvent, DWORD dwTime) { ::KillTimer(hwnd, 2); ::SendMessage(hwnd, WM_CLOSE, 0, 0); @@ -76,7 +76,7 @@ void CLeashMessageBox::OnOK() BOOL CLeashMessageBox::OnInitDialog() { CDialog::OnInitDialog(); - UINT idTimer = SetTimer(2, m_dwTime, (TIMERPROC)MessageBoxTimer); + UINT_PTR idTimer = SetTimer(2, m_dwTime, &MessageBoxTimer); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE -- cgit