Some more fixes for compiling the user dll with -DSTRICT.
diff --git a/controls/desktop.c b/controls/desktop.c
index b26d828..689a46f 100644
--- a/controls/desktop.c
+++ b/controls/desktop.c
@@ -51,7 +51,7 @@
DesktopWndProc, /* procW */
0, /* extra */
IDC_ARROWA, /* cursor */
- COLOR_BACKGROUND+1 /* brush */
+ (HBRUSH)(COLOR_BACKGROUND+1) /* brush */
};
@@ -151,7 +151,7 @@
(!fTileWallPaper && ((bitmapSize.cx < rect.right) || (bitmapSize.cy < rect.bottom))))
{
HBRUSH brush = hbrushPattern;
- if (!brush) brush = GetClassLongA( hwnd, GCL_HBRBACKGROUND );
+ if (!brush) brush = (HBRUSH)GetClassLongA( hwnd, GCL_HBRBACKGROUND );
/* Set colors in case pattern is a monochrome bitmap */
SetBkColor( hdc, RGB(0,0,0) );
SetTextColor( hdc, GetSysColor(COLOR_BACKGROUND) );
@@ -267,4 +267,3 @@
else hbrushPattern = 0;
return TRUE;
}
-