Michael Stefaniuc : oleaut32/tests: Use a better type to avoid a cast.
Alexandre Julliard
julliard at winehq.org
Tue Jun 19 14:52:01 CDT 2018
Module: wine
Branch: master
Commit: 2441e9417c4d33b3a04bde8901b276bcae4f53b1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=2441e9417c4d33b3a04bde8901b276bcae4f53b1
Author: Michael Stefaniuc <mstefani at winehq.org>
Date: Mon Jun 18 00:09:32 2018 +0200
oleaut32/tests: Use a better type to avoid a cast.
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/oleaut32/tests/safearray.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/oleaut32/tests/safearray.c b/dlls/oleaut32/tests/safearray.c
index 5dd1c1d..5d54146 100644
--- a/dlls/oleaut32/tests/safearray.c
+++ b/dlls/oleaut32/tests/safearray.c
@@ -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);
More information about the wine-cvs
mailing list