Author: jimtabor
Date: Tue Jun 10 23:45:42 2008
New Revision: 33926
URL:
http://svn.reactos.org/svn/reactos?rev=33926&view=rev
Log:
Fix warnings.
Modified:
trunk/reactos/include/reactos/win32k/ntuser.h
trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
Modified: trunk/reactos/include/reactos/win32k/ntuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/win32k/ntu…
==============================================================================
--- trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/win32k/ntuser.h [iso-8859-1] Tue Jun 10 23:45:42 2008
@@ -2234,8 +2234,8 @@
NTAPI
NtUserSetSysColors(
int cElements,
- IN INT *lpaElements,
- IN COLORREF *lpaRgbValues,
+ IN CONST INT *lpaElements,
+ IN CONST COLORREF *lpaRgbValues,
DWORD Unknown3);
BOOL
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/ntstubs.c [iso-8859-1] Tue Jun 10
23:45:42 2008
@@ -525,8 +525,8 @@
STDCALL
NtUserSetSysColors(
int cElements,
- IN INT *lpaElements,
- IN COLORREF *lpaRgbValues,
+ IN CONST INT *lpaElements,
+ IN CONST COLORREF *lpaRgbValues,
DWORD Unknown3)
{
DWORD Ret = FALSE;
@@ -540,7 +540,7 @@
ProbeForRead(lpaRgbValues,
sizeof(INT),
1);
- Ret = IntSetSysColors(cElements, lpaElements, lpaRgbValues);
+ Ret = IntSetSysColors(cElements, (INT*)lpaElements, (COLORREF*)lpaRgbValues);
}
_SEH_HANDLE
{