[STI_WINETEST] Sync with Wine Staging 4.18. CORE-16441
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 30 Nov 2019 13:56:15 +0000 (14:56 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 30 Nov 2019 13:56:15 +0000 (14:56 +0100)
modules/rostests/winetests/sti/sti.c

index fa4db8c..bd8b7b6 100644 (file)
@@ -150,7 +150,7 @@ static void test_version_flag_versus_aw(void)
             if (SUCCEEDED(hr))
             {
                 ok(pUnknown == (IUnknown*)pStiW, "created interface was not IID_IStillImageW\n");
             if (SUCCEEDED(hr))
             {
                 ok(pUnknown == (IUnknown*)pStiW, "created interface was not IID_IStillImageW\n");
-                IUnknown_Release((IUnknown*)pUnknown);
+                IUnknown_Release(pUnknown);
             }
             IUnknown_Release((IUnknown*)pStiW);
         }
             }
             IUnknown_Release((IUnknown*)pStiW);
         }