Author: tfaber
Date: Sun Nov 17 22:10:42 2013
New Revision: 61023
URL:
http://svn.reactos.org/svn/reactos?rev=61023&view=rev
Log:
[USER32]
- Fix MSVC warnings
Modified:
trunk/reactos/win32ss/user/user32/misc/usrapihk.c
Modified: trunk/reactos/win32ss/user/user32/misc/usrapihk.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/u…
==============================================================================
--- trunk/reactos/win32ss/user/user32/misc/usrapihk.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/misc/usrapihk.c [iso-8859-1] Sun Nov 17 22:10:42
2013
@@ -132,21 +132,21 @@
{
// Setup Structure.....
puah->size = sizeof(USERAPIHOOK);
- puah->DefWindowProcA = (WNDPROC)RealDefWindowProcA;
- puah->DefWindowProcW = (WNDPROC)RealDefWindowProcW;
+ puah->DefWindowProcA = RealDefWindowProcA;
+ puah->DefWindowProcW = RealDefWindowProcW;
puah->DefWndProcArray.MsgBitArray = NULL;
puah->DefWndProcArray.Size = 0;
puah->GetScrollInfo = (FARPROC)RealGetScrollInfo;
puah->SetScrollInfo = (FARPROC)RealSetScrollInfo;
puah->EnableScrollBar = (FARPROC)NtUserEnableScrollBar;
puah->AdjustWindowRectEx = (FARPROC)RealAdjustWindowRectEx;
- puah->SetWindowRgn = (FARPROC)NtUserSetWindowRgn;
- puah->PreWndProc = (WNDPROC_OWP)DefaultOWP;
- puah->PostWndProc = (WNDPROC_OWP)DefaultOWP;
+ puah->SetWindowRgn = NtUserSetWindowRgn;
+ puah->PreWndProc = DefaultOWP;
+ puah->PostWndProc = DefaultOWP;
puah->WndProcArray.MsgBitArray = NULL;
puah->WndProcArray.Size = 0;
- puah->PreDefDlgProc = (WNDPROC_OWP)DefaultOWP;
- puah->PostDefDlgProc = (WNDPROC_OWP)DefaultOWP;
+ puah->PreDefDlgProc = DefaultOWP;
+ puah->PostDefDlgProc = DefaultOWP;
puah->DlgProcArray.MsgBitArray = NULL;
puah->DlgProcArray.Size = 0;
puah->GetSystemMetrics = (FARPROC)RealGetSystemMetrics;
@@ -343,19 +343,19 @@
USERAPIHOOK guah =
{
sizeof(USERAPIHOOK),
- (WNDPROC)RealDefWindowProcA,
- (WNDPROC)RealDefWindowProcW,
+ RealDefWindowProcA,
+ RealDefWindowProcW,
{NULL, 0},
(FARPROC)RealGetScrollInfo,
(FARPROC)RealSetScrollInfo,
(FARPROC)NtUserEnableScrollBar,
(FARPROC)RealAdjustWindowRectEx,
- (FARPROC)NtUserSetWindowRgn,
- (WNDPROC_OWP)DefaultOWP,
- (WNDPROC_OWP)DefaultOWP,
+ NtUserSetWindowRgn,
+ DefaultOWP,
+ DefaultOWP,
{NULL, 0},
- (WNDPROC_OWP)DefaultOWP,
- (WNDPROC_OWP)DefaultOWP,
+ DefaultOWP,
+ DefaultOWP,
{NULL, 0},
(FARPROC)RealGetSystemMetrics,
(FARPROC)RealSystemParametersInfoA,