diff options
| author | Sam Hartman <hartmans@mit.edu> | 2011-10-14 14:40:36 +0000 |
|---|---|---|
| committer | Sam Hartman <hartmans@mit.edu> | 2011-10-14 14:40:36 +0000 |
| commit | a0216e21ff6d3885557d145c78c8547187cbc83a (patch) | |
| tree | b037e6a2f42a63db4b099ee10fd206ffb5693326 /src/windows/leash/LeashMessageBox.cpp | |
| parent | 6b39aeb15325008af22d4efd64a417b41884e326 (diff) | |
Fixed some warnings and Windows 64 portability issues in the leash executable
Signed-off-by: Alexey Melnikov <aamelnikov@gmail.com>
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25338 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/leash/LeashMessageBox.cpp')
| -rw-r--r-- | src/windows/leash/LeashMessageBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
