Fixed switch (unsigned int) { case -1 / -2: } problems.

This commit is contained in:
Marcus Meissner 2004-07-12 23:52:33 +00:00 committed by Alexandre Julliard
parent 2c3bf27108
commit d176dde0d1
2 changed files with 2 additions and 2 deletions

View File

@ -1343,7 +1343,7 @@ static LRESULT COMBO_Command( LPHEADCOMBO lphc, WPARAM wParam, HWND hWnd )
}
else if( lphc->hWndLBox == hWnd )
{
switch( HIWORD(wParam) )
switch( (short)HIWORD(wParam) )
{
case LBN_ERRSPACE:
CB_NOTIFY( lphc, CBN_ERRSPACE );

View File

@ -1132,7 +1132,7 @@ LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
{
hwnd = WIN_GetFullHandle( (HWND)wParam );
switch(LOWORD(lParam))
switch((short)LOWORD(lParam))
{
case HTERROR:
{