diff options
| author | 2021-08-16 12:18:19 +0200 | |
|---|---|---|
| committer | 2021-08-16 12:18:19 +0200 | |
| commit | 356dbf4d1d314448495ab4e558aa8f799f20caac (patch) | |
| tree | ecbfc889d9608281d536cfbf9b58526fdb6ebdda | |
| parent | network_interface: fix mingw-w64 build (diff) | |
| download | yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.gz yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.tar.xz yuzu-356dbf4d1d314448495ab4e558aa8f799f20caac.zip | |
network_interface: correct formatting
| -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() { | |||
| 69 | continue; | 69 | continue; |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | struct in_addr gateway{.S_un{.S_addr{0}}}; | 72 | struct in_addr gateway = {.S_un{.S_addr{0}}}; |
| 73 | if (current_address->FirstGatewayAddress != nullptr && | 73 | if (current_address->FirstGatewayAddress != nullptr && |
| 74 | current_address->FirstGatewayAddress->Address.lpSockaddr != nullptr) { | 74 | current_address->FirstGatewayAddress->Address.lpSockaddr != nullptr) { |
| 75 | gateway = Common::BitCast<struct sockaddr_in>( | 75 | gateway = Common::BitCast<struct sockaddr_in>( |