diff options
author | Sönke Holz <sholz8530@gmail.com> | 2021-08-16 12:18:19 +0200 |
---|---|---|
committer | Sönke Holz <sholz8530@gmail.com> | 2021-08-16 12:18:19 +0200 |
commit | 356dbf4d1d314448495ab4e558aa8f799f20caac (patch) | |
tree | ecbfc889d9608281d536cfbf9b58526fdb6ebdda | |
parent | network_interface: fix mingw-w64 build (diff) | |
download | yuzu-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 |
Diffstat (limited to '')
-rw-r--r-- | src/core/network/network_interface.cpp | 2 |
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>( |