Author: tfaber
Date: Sat Oct 11 12:34:25 2014
New Revision: 64662
URL:
http://svn.reactos.org/svn/reactos?rev=64662&view=rev
Log:
[USER32][SCRNSAVE]
- Remove broken casts
Modified:
trunk/reactos/lib/sdk/scrnsave/scrnsave.c
trunk/reactos/win32ss/user/user32/misc/desktop.c
trunk/reactos/win32ss/user/user32/windows/dialog.c
trunk/reactos/win32ss/user/user32/windows/menu.c
Modified: trunk/reactos/lib/sdk/scrnsave/scrnsave.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/scrnsave/scrnsave.…
==============================================================================
--- trunk/reactos/lib/sdk/scrnsave/scrnsave.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/scrnsave/scrnsave.c [iso-8859-1] Sat Oct 11 12:34:25 2014
@@ -144,7 +144,7 @@
cls.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
cls.hInstance = hMainInstance;
cls.style = CS_VREDRAW | CS_HREDRAW | CS_SAVEBITS | CS_PARENTDC;
- cls.lpfnWndProc = (WNDPROC)SysScreenSaverProc;
+ cls.lpfnWndProc = SysScreenSaverProc;
return RegisterClass(&cls) != 0;
}
Modified: trunk/reactos/win32ss/user/user32/misc/desktop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/d…
==============================================================================
--- trunk/reactos/win32ss/user/user32/misc/desktop.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/misc/desktop.c [iso-8859-1] Sat Oct 11 12:34:25
2014
@@ -22,7 +22,7 @@
WC_DESKTOP, /* name */
CS_DBLCLKS, /* style */
NULL, /* procA (winproc is Unicode only) */
- (WNDPROC) DesktopWndProc, /* procW */
+ DesktopWndProc, /* procW */
0, /* extra */
IDC_ARROW, /* cursor */
(HBRUSH)(COLOR_BACKGROUND+1) /* brush */
Modified: trunk/reactos/win32ss/user/user32/windows/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/dialog.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/dialog.c [iso-8859-1] Sat Oct 11 12:34:25
2014
@@ -115,8 +115,8 @@
{
WC_DIALOG, /* name */
CS_SAVEBITS | CS_DBLCLKS, /* style */
- (WNDPROC) DefDlgProcA, /* procA */
- (WNDPROC) DefDlgProcW, /* procW */
+ DefDlgProcA, /* procA */
+ DefDlgProcW, /* procW */
DLGWINDOWEXTRA, /* extra */
(LPCWSTR) IDC_ARROW, /* cursor */
0 /* brush */
Modified: trunk/reactos/win32ss/user/user32/windows/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/menu.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/menu.c [iso-8859-1] Sat Oct 11 12:34:25
2014
@@ -107,8 +107,8 @@
{
WC_MENU, /* name */
CS_SAVEBITS | CS_DBLCLKS, /* style */
- (WNDPROC) NULL, /* FIXME - procA */
- (WNDPROC) PopupMenuWndProcW, /* FIXME - procW */
+ NULL, /* FIXME - procA */
+ PopupMenuWndProcW, /* FIXME - procW */
sizeof(MENUINFO *), /* extra */
(LPCWSTR) IDC_ARROW, /* cursor */
(HBRUSH)(COLOR_MENU + 1) /* brush */