[PATCH 2/5] widl: Use type_iface_get_inherit() in check_async_uuid().

Zebediah Figura z.figura12 at gmail.com
Wed Aug 14 21:45:47 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 tools/widl/parser.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index e39d801464..1504fb9638 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -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)
-- 
2.22.0




More information about the wine-devel mailing list