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

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-03-03 11:40:56 -06:00 committed by Alexandre Julliard
parent 7f0c59f360
commit 05d3b1d8f3
1 changed files with 2 additions and 1 deletions

View File

@ -84,11 +84,12 @@ static void test_media_types(IPin *pin)
static void test_stream_config(IPin *pin) static void test_stream_config(IPin *pin)
{ {
VIDEOINFOHEADER *video_info, *video_info2; VIDEOINFOHEADER *video_info, *video_info2;
LONG depth, compression, count, size, i;
IEnumMediaTypes *enum_media_types; IEnumMediaTypes *enum_media_types;
AM_MEDIA_TYPE *format, *format2; AM_MEDIA_TYPE *format, *format2;
IAMStreamConfig *stream_config; IAMStreamConfig *stream_config;
VIDEO_STREAM_CONFIG_CAPS vscc; VIDEO_STREAM_CONFIG_CAPS vscc;
LONG depth, compression;
int count, size, i;
HRESULT hr; HRESULT hr;
hr = IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **)&stream_config); hr = IPin_QueryInterface(pin, &IID_IAMStreamConfig, (void **)&stream_config);