mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[WIN32K]
Fix build svn path=/trunk/; revision=55994
This commit is contained in:
@@ -1634,8 +1634,8 @@ UserSetClassLongPtr(IN PCLS Class,
|
||||
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user