mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 00:25:23 +00:00
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->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));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue