Commit b4fa0147 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mf: Avoid implicit enum to int pointer casts.

parent 452b59bb
...@@ -386,8 +386,8 @@ static HRESULT topology_branch_connect_down(IMFTopology *topology, MF_CONNECT_ME ...@@ -386,8 +386,8 @@ static HRESULT topology_branch_connect_down(IMFTopology *topology, MF_CONNECT_ME
{ {
IMFMediaTypeHandler *down_handler; IMFMediaTypeHandler *down_handler;
IMFMediaType *down_type = NULL; IMFMediaType *down_type = NULL;
MF_CONNECT_METHOD method;
MF_TOPOLOGY_TYPE type; MF_TOPOLOGY_TYPE type;
UINT32 method;
DWORD flags; DWORD flags;
HRESULT hr; HRESULT hr;
...@@ -465,7 +465,7 @@ static HRESULT topology_branch_foreach_up_types(IMFTopology *topology, MF_CONNEC ...@@ -465,7 +465,7 @@ static HRESULT topology_branch_foreach_up_types(IMFTopology *topology, MF_CONNEC
static HRESULT topology_branch_connect(IMFTopology *topology, MF_CONNECT_METHOD method_mask, static HRESULT topology_branch_connect(IMFTopology *topology, MF_CONNECT_METHOD method_mask,
struct topology_branch *branch, BOOL enumerate_source_types) struct topology_branch *branch, BOOL enumerate_source_types)
{ {
MF_CONNECT_METHOD method; UINT32 method;
HRESULT hr; HRESULT hr;
TRACE("topology %p, method_mask %#x, branch %s.\n", topology, method_mask, debugstr_topology_branch(branch)); TRACE("topology %p, method_mask %#x, branch %s.\n", topology, method_mask, debugstr_topology_branch(branch));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment