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);
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;