Commit e219f5cd authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msdaps: Avoid casts from COM object to interface.

parent 678ae0f9
...@@ -589,9 +589,9 @@ static HRESULT create_server(IUnknown *outer, const CLSID *class, void **obj) ...@@ -589,9 +589,9 @@ static HRESULT create_server(IUnknown *outer, const CLSID *class, void **obj)
server->class = *class; server->class = *class;
server->inner_unk = NULL; server->inner_unk = NULL;
if(IsEqualGUID(class, &CLSID_wine_row_server)) if(IsEqualGUID(class, &CLSID_wine_row_server))
create_row_marshal((IUnknown*)server, (void**)&server->marshal); create_row_marshal((IUnknown*)&server->IWineRowServer_iface, (void**)&server->marshal);
else if(IsEqualGUID(class, &CLSID_wine_rowset_server)) else if(IsEqualGUID(class, &CLSID_wine_rowset_server))
create_rowset_marshal((IUnknown*)server, (void**)&server->marshal); create_rowset_marshal((IUnknown*)&server->IWineRowServer_iface, (void**)&server->marshal);
else else
ERR("create_server called with class %s\n", debugstr_guid(class)); ERR("create_server called with class %s\n", debugstr_guid(class));
......
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