[PATCH 19/21] dlls/quartz/tests: use correct integral type

Eric Pouech eric.pouech at gmail.com
Thu Mar 3 01:22:52 CST 2022


Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 dlls/quartz/tests/dsoundrender.c |    3 ++-
 dlls/quartz/tests/filtergraph.c  |    2 +-
 dlls/quartz/tests/vmr9.c         |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/quartz/tests/dsoundrender.c b/dlls/quartz/tests/dsoundrender.c
index 03e6b8413d5..0e5c15bea14 100644
--- a/dlls/quartz/tests/dsoundrender.c
+++ b/dlls/quartz/tests/dsoundrender.c
@@ -451,7 +451,8 @@ static void test_basic_audio(void)
     ITypeInfo *typeinfo;
     IBasicAudio *audio;
     TYPEATTR *typeattr;
-    ULONG ref, count;
+    ULONG ref;
+    UINT count;
     HRESULT hr;
 
     hr = IBaseFilter_QueryInterface(filter, &IID_IBasicAudio, (void **)&audio);
diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index 98f7b30717d..9cc08ce8577 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -2828,7 +2828,7 @@ static void test_control_delegation(void)
     IBasicVideo2 *video;
     ITypeInfo *typeinfo;
     TYPEATTR *typeattr;
-    ULONG count;
+    UINT count;
     HRESULT hr;
     LONG val;
 
diff --git a/dlls/quartz/tests/vmr9.c b/dlls/quartz/tests/vmr9.c
index a0ccb4898a9..45ec3313813 100644
--- a/dlls/quartz/tests/vmr9.c
+++ b/dlls/quartz/tests/vmr9.c
@@ -3975,11 +3975,11 @@ static void test_windowless_size(void)
     IVMRAspectRatioControl9 *aspect_ratio_control;
     IVMRWindowlessControl9 *windowless_control;
     IFilterGraph2 *graph = create_graph();
-    VMR9AspectRatioMode aspect_mode;
     struct testfilter source;
     IMemAllocator *allocator;
     RECT src, dst, expect;
     IMemInputPin *input;
+    DWORD aspect_mode;
     HWND window;
     HRESULT hr;
     ULONG ref;




More information about the wine-devel mailing list