From 4bd7b55df3eb85b6ed30b1a3068d69fc264d185e Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Thu, 24 Feb 2022 11:29:28 +0100 Subject: [PATCH] explorerframe/tests: Use correct integral type. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/explorerframe/tests/nstc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dlls/explorerframe/tests/nstc.c b/dlls/explorerframe/tests/nstc.c index 6433b69ebf8..617c93d9b09 100644 --- a/dlls/explorerframe/tests/nstc.c +++ b/dlls/explorerframe/tests/nstc.c @@ -910,7 +910,7 @@ static void test_basics(void) ok(style == tmp, "Got style %x (expected %x)\n", style, tmp); if(SUCCEEDED(hr)) { - DWORD tmp2; + NSTCSTYLE tmp2; for(i = 0; styles[i] != 0; i++) { hr = INameSpaceTreeControl2_GetControlStyle(pnstc2, styles[i], &tmp2); @@ -966,7 +966,7 @@ static void test_basics(void) ok(style2 == tmp, "Got style %x (expected %x)\n", style2, tmp); if(SUCCEEDED(hr)) { - DWORD tmp2; + NSTCSTYLE2 tmp2; for(i = 0; styles2[i] != 0; i++) { hr = INameSpaceTreeControl2_GetControlStyle2(pnstc2, styles2[i], &tmp2); @@ -1372,7 +1372,7 @@ static void test_basics(void) ok(hr == S_OK, "Got 0x%08x\n", hr); if(SUCCEEDED(hr)) { - UINT count; + DWORD count; hr = IShellItemArray_GetCount(psia, &count); ok(hr == S_OK, "Got 0x%08x\n", hr); ok(count == 1, "Got %d selected items.\n", count); @@ -1400,7 +1400,7 @@ static void test_basics(void) ok(hr == S_OK, "Got 0x%08x\n", hr); if(SUCCEEDED(hr)) { - UINT count; + DWORD count; hr = IShellItemArray_GetCount(psia, &count); ok(hr == S_OK, "Got 0x%08x\n", hr); ok(count == 1, "Got %d selected items.\n", count); @@ -1426,7 +1426,7 @@ static void test_basics(void) ok(hr == S_OK, "Got 0x%08x\n", hr); if(SUCCEEDED(hr)) { - UINT count; + DWORD count; hr = IShellItemArray_GetCount(psia, &count); ok(hr == S_OK, "Got 0x%08x\n", hr); ok(count == 1, "Got %d selected items.\n", count);