Commit d176dde0 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

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

parent 2c3bf271
......@@ -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 );
......
......@@ -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:
{
......
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