Eric Pouech : explorerframe/tests: Use correct integral type.

Alexandre Julliard julliard at winehq.org
Thu Feb 24 15:33:41 CST 2022


Module: wine
Branch: master
Commit: 4bd7b55df3eb85b6ed30b1a3068d69fc264d185e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4bd7b55df3eb85b6ed30b1a3068d69fc264d185e

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Feb 24 11:29:28 2022 +0100

explorerframe/tests: Use correct integral type.

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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




More information about the wine-cvs mailing list