From c94e218ff44cea0eaf353b420c3ef39d37cd75b3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 14 Jul 2023 09:25:57 +0200 Subject: [PATCH] netprofm: Use nameless unions/structs. --- dlls/netprofm/list.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dlls/netprofm/list.c b/dlls/netprofm/list.c index 40e03cb94f7..e6819185f22 100644 --- a/dlls/netprofm/list.c +++ b/dlls/netprofm/list.c @@ -18,8 +18,6 @@ */ #define COBJMACROS -#define NONAMELESSUNION -#define NONAMELESSSTRUCT #include #include "windef.h" @@ -1769,7 +1767,7 @@ static void init_networks( struct list_manager *mgr ) struct connection *connection; NET_LUID luid; - ConvertInterfaceIndexToLuid(aa->u.s.IfIndex, &luid); + ConvertInterfaceIndexToLuid(aa->IfIndex, &luid); ConvertInterfaceLuidToGuid(&luid, &id); /* assume a one-to-one mapping between networks and connections */