mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[WIN32K]
Fix build svn path=/trunk/; revision=55994
This commit is contained in:
parent
a508886eb0
commit
3159c6f62f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue