mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 19:53:38 +00:00
oleaut32: Check that the 32/64 syskind matches when getting a typelib from the cache.
Fixes test failures on 64-bit.
This commit is contained in:
parent
524cc6339c
commit
43e5f9e4bf
|
@ -7966,7 +7966,8 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeInfo(
|
|||
&& IsEqualIID(&entry->guid->guid, TLB_get_guid_null(ref_type->pImpTLInfo->guid))
|
||||
&& entry->ver_major == ref_type->pImpTLInfo->wVersionMajor
|
||||
&& entry->ver_minor == ref_type->pImpTLInfo->wVersionMinor
|
||||
&& entry->set_lcid == ref_type->pImpTLInfo->lcid)
|
||||
&& entry->set_lcid == ref_type->pImpTLInfo->lcid
|
||||
&& entry->syskind == This->pTypeLib->syskind)
|
||||
{
|
||||
TRACE("got cached %p\n", entry);
|
||||
pTLib = (ITypeLib*)&entry->ITypeLib2_iface;
|
||||
|
|
Loading…
Reference in a new issue