Eric Pouech : qcap/tests: Use int instead of LONG for the arguments to IAMStreamConfig::GetNumberOfCapabilities().

Alexandre Julliard julliard at winehq.org
Thu Mar 3 16:06:41 CST 2022


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

Author: Eric Pouech <eric.pouech at gmail.com>
Date:   Thu Mar  3 11:40:56 2022 -0600

qcap/tests: Use int instead of LONG for the arguments to IAMStreamConfig::GetNumberOfCapabilities().

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

---

 dlls/qcap/tests/videocapture.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/qcap/tests/videocapture.c b/dlls/qcap/tests/videocapture.c
index 4e9dca7d837..a96aeb6740c 100644
--- a/dlls/qcap/tests/videocapture.c
+++ b/dlls/qcap/tests/videocapture.c
@@ -84,11 +84,12 @@ static void test_media_types(IPin *pin)
 static void test_stream_config(IPin *pin)
 {
     VIDEOINFOHEADER *video_info, *video_info2;
-    LONG depth, compression, count, size, i;
     IEnumMediaTypes *enum_media_types;
     AM_MEDIA_TYPE *format, *format2;
     IAMStreamConfig *stream_config;
     VIDEO_STREAM_CONFIG_CAPS vscc;
+    LONG depth, compression;
+    int count, size, i;
     HRESULT hr;
 
     hr = IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **)&stream_config);




More information about the wine-cvs mailing list