summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSönke Holz <sholz8530@gmail.com>2021-08-16 12:18:19 +0200
committerSönke Holz <sholz8530@gmail.com>2021-08-16 12:18:19 +0200
commit356dbf4d1d314448495ab4e558aa8f799f20caac (patch)
treeecbfc889d9608281d536cfbf9b58526fdb6ebdda
parentnetwork_interface: fix mingw-w64 build (diff)
downloadyuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar
yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.gz
yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.bz2
yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.lz
yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.xz
yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.zst
yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.zip
-rw-r--r--src/core/network/network_interface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network/network_interface.cpp b/src/core/network/network_interface.cpp
index c60deb196..cecc9aa11 100644
--- a/src/core/network/network_interface.cpp
+++ b/src/core/network/network_interface.cpp
@@ -69,7 +69,7 @@ std::vector<NetworkInterface> GetAvailableNetworkInterfaces() {
continue;
}
- struct in_addr gateway{.S_un{.S_addr{0}}};
+ struct in_addr gateway = {.S_un{.S_addr{0}}};
if (current_address->FirstGatewayAddress != nullptr &&
current_address->FirstGatewayAddress->Address.lpSockaddr != nullptr) {
gateway = Common::BitCast<struct sockaddr_in>(