Fixed switch (unsigned int) { case -1 / -2: } problems.
diff --git a/controls/combo.c b/controls/combo.c
index 0e9c475..3c87948 100644
--- a/controls/combo.c
+++ b/controls/combo.c
@@ -1343,7 +1343,7 @@
}
else if( lphc->hWndLBox == hWnd )
{
- switch( HIWORD(wParam) )
+ switch( (short)HIWORD(wParam) )
{
case LBN_ERRSPACE:
CB_NOTIFY( lphc, CBN_ERRSPACE );
diff --git a/windows/nonclient.c b/windows/nonclient.c
index 5fe7f37..c1dedaf 100644
--- a/windows/nonclient.c
+++ b/windows/nonclient.c
@@ -1132,7 +1132,7 @@
{
hwnd = WIN_GetFullHandle( (HWND)wParam );
- switch(LOWORD(lParam))
+ switch((short)LOWORD(lParam))
{
case HTERROR:
{