Fixed switch (unsigned int) { case -1 / -2: } problems.
This commit is contained in:
parent
2c3bf27108
commit
d176dde0d1
|
@ -1343,7 +1343,7 @@ static LRESULT COMBO_Command( LPHEADCOMBO lphc, WPARAM wParam, HWND hWnd )
|
||||||
}
|
}
|
||||||
else if( lphc->hWndLBox == hWnd )
|
else if( lphc->hWndLBox == hWnd )
|
||||||
{
|
{
|
||||||
switch( HIWORD(wParam) )
|
switch( (short)HIWORD(wParam) )
|
||||||
{
|
{
|
||||||
case LBN_ERRSPACE:
|
case LBN_ERRSPACE:
|
||||||
CB_NOTIFY( lphc, CBN_ERRSPACE );
|
CB_NOTIFY( lphc, CBN_ERRSPACE );
|
||||||
|
|
|
@ -1132,7 +1132,7 @@ LONG NC_HandleSetCursor( HWND hwnd, WPARAM wParam, LPARAM lParam )
|
||||||
{
|
{
|
||||||
hwnd = WIN_GetFullHandle( (HWND)wParam );
|
hwnd = WIN_GetFullHandle( (HWND)wParam );
|
||||||
|
|
||||||
switch(LOWORD(lParam))
|
switch((short)LOWORD(lParam))
|
||||||
{
|
{
|
||||||
case HTERROR:
|
case HTERROR:
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue