msdaps: Avoid casts from COM object to interface.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
678ae0f925
commit
e219f5cda7
|
@ -589,9 +589,9 @@ static HRESULT create_server(IUnknown *outer, const CLSID *class, void **obj)
|
|||
server->class = *class;
|
||||
server->inner_unk = NULL;
|
||||
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))
|
||||
create_rowset_marshal((IUnknown*)server, (void**)&server->marshal);
|
||||
create_rowset_marshal((IUnknown*)&server->IWineRowServer_iface, (void**)&server->marshal);
|
||||
else
|
||||
ERR("create_server called with class %s\n", debugstr_guid(class));
|
||||
|
||||
|
|
Loading…
Reference in New Issue