[PATCH 1/2] quartz/tests: Use the correct integer types.

Zebediah Figura zfigura at codeweavers.com
Mon Mar 7 12:54:06 CST 2022


From: Eric Pouech <eric.pouech at gmail.com>

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>
Signed-off-by: Zebediah Figura <zfigura at codeweavers.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..2e1289e715b 100644
--- a/dlls/quartz/tests/dsoundrender.c
+++ b/dlls/quartz/tests/dsoundrender.c
@@ -449,10 +449,11 @@ static void test_basic_audio(void)
     IBaseFilter *filter = create_dsound_render();
     LONG balance, volume;
     ITypeInfo *typeinfo;
+    unsigned int count;
     IBasicAudio *audio;
     TYPEATTR *typeattr;
-    ULONG ref, count;
     HRESULT hr;
+    ULONG ref;
 
     hr = IBaseFilter_QueryInterface(filter, &IID_IBasicAudio, (void **)&audio);
     ok(hr == S_OK, "Got hr %#x.\n", hr);
diff --git a/dlls/quartz/tests/filtergraph.c b/dlls/quartz/tests/filtergraph.c
index 98f7b30717d..2496b556132 100644
--- a/dlls/quartz/tests/filtergraph.c
+++ b/dlls/quartz/tests/filtergraph.c
@@ -2827,8 +2827,8 @@ static void test_control_delegation(void)
     IVideoWindow *window;
     IBasicVideo2 *video;
     ITypeInfo *typeinfo;
+    unsigned int count;
     TYPEATTR *typeattr;
-    ULONG 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;
-- 
2.35.1




More information about the wine-devel mailing list