Kaydet (Commit) 11e384b8 authored tarafından Caolán McNamara's avatar Caolán McNamara

WaE: these are integers, not pointers

üst d1f45bd6
...@@ -366,7 +366,7 @@ LRESULT CALLBACK listenerWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP ...@@ -366,7 +366,7 @@ LRESULT CALLBACK listenerWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
#endif #endif
int m = TrackPopupMenuEx( popupMenu, TPM_RETURNCMD|TPM_LEFTALIGN|TPM_RIGHTBUTTON, int m = TrackPopupMenuEx( popupMenu, TPM_RETURNCMD|TPM_LEFTALIGN|TPM_RIGHTBUTTON,
pt.x, pt.y, hWnd, NULL ); pt.x, pt.y, hWnd, NULL );
PostMessage( hWnd, NULL, 0, 0 ); PostMessage( hWnd, 0, 0, 0 );
switch( m ) switch( m )
{ {
#if defined(USE_APP_SHORTCUTS) #if defined(USE_APP_SHORTCUTS)
......
...@@ -77,7 +77,7 @@ static LONG RegWriteValue( HKEY hBaseKey, LPCTSTR lpSubKey, LPCTSTR lpValueName, ...@@ -77,7 +77,7 @@ static LONG RegWriteValue( HKEY hBaseKey, LPCTSTR lpSubKey, LPCTSTR lpValueName,
if ( ERROR_SUCCESS == lResult ) if ( ERROR_SUCCESS == lResult )
{ {
lResult = RegSetValueEx( hKey, lpValueName, NULL, dwType, (CONST sal_uInt8 *)lpData, cbData ); lResult = RegSetValueEx( hKey, lpValueName, 0, dwType, (CONST sal_uInt8 *)lpData, cbData );
RegCloseKey( hKey ); RegCloseKey( hKey );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment