Fix build

svn path=/trunk/; revision=55994
This commit is contained in:
Timo Kreuzer 2012-03-04 11:43:08 +00:00
parent a508886eb0
commit 3159c6f62f

View file

@ -1634,8 +1634,8 @@ UserSetClassLongPtr(IN PCLS Class,
TRACE("SetClassLong(%d, %x)\n", Index, NewLong); TRACE("SetClassLong(%d, %x)\n", Index, NewLong);
if ((Index + (INT)sizeof(ULONG_PTR)) < Index || if (((ULONG)Index + sizeof(ULONG_PTR)) < (ULONG)Index ||
(Index + (INT)sizeof(ULONG_PTR)) > Class->cbclsExtra) ((ULONG)Index + sizeof(ULONG_PTR)) > (ULONG)Class->cbclsExtra)
{ {
EngSetLastError(ERROR_INVALID_PARAMETER); EngSetLastError(ERROR_INVALID_PARAMETER);
return 0; return 0;