Note: I voluntarly used 'unsigned long' and not ULONG as SDK and MSDN state that unsigned long is the type to be used in the API. Even if Wine's headers declare the prototype with ULONG instead. Wine's headers are potentially to be fixed accordingly.
Signed-off-by: Eric Pouech eric.pouech@gmail.com
--- dlls/devenum/mediacatenum.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/devenum/mediacatenum.c b/dlls/devenum/mediacatenum.c index 9d8069a3aa2..b1f81ec8476 100644 --- a/dlls/devenum/mediacatenum.c +++ b/dlls/devenum/mediacatenum.c @@ -137,7 +137,8 @@ static HRESULT WINAPI property_bag_Read(IPropertyBag *iface, } else if (!wcscmp(name, L"FilterData")) { - unsigned int count = 1, input_count, output_count, i; + unsigned int count = 1, i; + unsigned long input_count, output_count; DMO_PARTIAL_MEDIATYPE *types = NULL, *new_array; REGFILTERPINS2 reg_pins[2] = {{0}}; REGFILTER2 reg_filter = {0};