Author: tkreuzer
Date: Sun Mar 4 11:43:08 2012
New Revision: 55994
URL:
http://svn.reactos.org/svn/reactos?rev=55994&view=rev
Log:
[WIN32K]
Fix build
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/class.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] Sun Mar 4 11:43:08
2012
@@ -1634,8 +1634,8 @@
TRACE("SetClassLong(%d, %x)\n", Index, NewLong);
- if ((Index + (INT)sizeof(ULONG_PTR)) < Index ||
- (Index + (INT)sizeof(ULONG_PTR)) > Class->cbclsExtra)
+ if (((ULONG)Index + sizeof(ULONG_PTR)) < (ULONG)Index ||
+ ((ULONG)Index + sizeof(ULONG_PTR)) > (ULONG)Class->cbclsExtra)
{
EngSetLastError(ERROR_INVALID_PARAMETER);
return 0;