From 6d548f51b3739c4ecfe066068294c5b1636f76dc Mon Sep 17 00:00:00 2001 From: Joel Linn Date: Fri, 21 May 2021 01:26:31 +0200 Subject: [PATCH] [Kernel] net: name anonymous struct - fixes GCC compilation error due to "member with constructor in anonymous struct" --- src/xenia/kernel/xam/xam_net.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/kernel/xam/xam_net.cc b/src/xenia/kernel/xam/xam_net.cc index f77db504d..e1507cb00 100644 --- a/src/xenia/kernel/xam/xam_net.cc +++ b/src/xenia/kernel/xam/xam_net.cc @@ -107,9 +107,9 @@ struct XWSAOVERLAPPED { xe::be internal_high; union { struct { - xe::be offset; - xe::be offset_high; - }; + xe::be low; + xe::be high; + } offset; // must be named to avoid GCC error xe::be pointer; }; xe::be event_handle;