widl: Use type_iface_get_inherit() in check_async_uuid().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Zebediah Figura 2019-08-14 21:45:47 -05:00 committed by Alexandre Julliard
parent b4fe4ccc96
commit c5ab9d01be
1 changed files with 1 additions and 1 deletions

View File

@ -2807,7 +2807,7 @@ static void check_async_uuid(type_t *iface)
if (!is_attr(iface->attrs, ATTR_ASYNCUUID)) return;
inherit = iface->details.iface->inherit;
inherit = type_iface_get_inherit(iface);
if (inherit && strcmp(inherit->name, "IUnknown"))
inherit = type_iface_get_async_iface(inherit);
if (!inherit)