diff options
author | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-25 23:32:31 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@novell.com> | 2011-01-25 23:32:31 +0200 |
commit | 5be90a49b6268e7a83c79b51e2c9f2350df6f50f (patch) | |
tree | 2a1e82ef16afbcd2f0885f770175b5306c513789 /dtrans | |
parent | Related: fdo#31271 create a unit test for the line break iterator (diff) | |
download | core-5be90a49b6268e7a83c79b51e2c9f2350df6f50f.tar.gz core-5be90a49b6268e7a83c79b51e2c9f2350df6f50f.zip |
Use correct type of parameter 7 to SendMessageTimeout
Diffstat (limited to 'dtrans')
-rw-r--r-- | dtrans/source/win32/mtaole/MtaOleClipb.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dtrans/source/win32/mtaole/MtaOleClipb.cxx b/dtrans/source/win32/mtaole/MtaOleClipb.cxx index d72eb0451332..9faa9a0435fb 100644 --- a/dtrans/source/win32/mtaole/MtaOleClipb.cxx +++ b/dtrans/source/win32/mtaole/MtaOleClipb.cxx @@ -590,7 +590,7 @@ LRESULT CMtaOleClipboard::onChangeCBChain( HWND hWndRemove, HWND hWndNext ) else if ( IsWindow( m_hwndNextClipViewer ) ) { // forward the message to the next one - DWORD dwResult; + DWORD_PTR dwpResult; SendMessageTimeoutA( m_hwndNextClipViewer, WM_CHANGECBCHAIN, @@ -598,7 +598,7 @@ LRESULT CMtaOleClipboard::onChangeCBChain( HWND hWndRemove, HWND hWndNext ) reinterpret_cast<LPARAM>(hWndNext), SMTO_BLOCK, MAX_CLIPEVENT_PROCESSING_TIME, - &dwResult ); + &dwpResult ); } return 0; @@ -625,7 +625,7 @@ LRESULT CMtaOleClipboard::onDrawClipboard( ) // foward the message to the next viewer in the chain if ( IsWindow( m_hwndNextClipViewer ) ) { - DWORD dwResult; + DWORD_PTR dwpResult; SendMessageTimeoutA( m_hwndNextClipViewer, WM_DRAWCLIPBOARD, @@ -633,7 +633,7 @@ LRESULT CMtaOleClipboard::onDrawClipboard( ) static_cast< LPARAM >( 0 ), SMTO_BLOCK, MAX_CLIPEVENT_PROCESSING_TIME, - &dwResult ); + &dwpResult ); } return 0; |