oleaut32/tests: Use a better type to avoid a cast.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2018-06-18 00:09:32 +02:00 committed by Alexandre Julliard
parent db48640a51
commit 2441e9417c
1 changed files with 2 additions and 2 deletions

View File

@ -765,7 +765,7 @@ static void test_SafeArrayAllocDestroyDescriptor(void)
{
SAFEARRAY *sa;
HRESULT hres;
int i;
UINT i;
/* Failure cases */
hres = SafeArrayAllocDescriptor(0, &sa);
@ -789,7 +789,7 @@ static void test_SafeArrayAllocDestroyDescriptor(void)
if (hres == S_OK)
{
ok(SafeArrayGetDim(sa) == (UINT)i, "Dimension is %d; should be %d\n",
ok(SafeArrayGetDim(sa) == i, "Dimension is %d; should be %d\n",
SafeArrayGetDim(sa), i);
hres = SafeArrayDestroyDescriptor(sa);