diff options
| author | 2023-06-25 17:00:05 -0700 | |
|---|---|---|
| committer | 2023-06-25 17:06:57 -0700 | |
| commit | ac939f08a4c116b6a38978358b667b1fa0c51ef9 (patch) | |
| tree | d056a56751a46f31b2b4f8e2d7b0de31fc5de1db /src/core/hle/service/sockets | |
| parent | ssl: fix compatibility with OpenSSL 1.1.1 (diff) | |
| download | yuzu-ac939f08a4c116b6a38978358b667b1fa0c51ef9.tar.gz yuzu-ac939f08a4c116b6a38978358b667b1fa0c51ef9.tar.xz yuzu-ac939f08a4c116b6a38978358b667b1fa0c51ef9.zip | |
Fix more Windows build errors
I did test this beforehand, but not on MinGW, and the error that showed
up on the msvc builder didn't happen for me...
Diffstat (limited to 'src/core/hle/service/sockets')
| -rw-r--r-- | src/core/hle/service/sockets/sfdnsres.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cpp index fb8798b42..c5eaec920 100644 --- a/src/core/hle/service/sockets/sfdnsres.cpp +++ b/src/core/hle/service/sockets/sfdnsres.cpp | |||
| @@ -149,7 +149,7 @@ static std::pair<u32, GetAddrInfoError> GetHostByNameRequestImpl(HLERequestConte | |||
| 149 | const std::string host = Common::StringFromBuffer(host_buffer); | 149 | const std::string host = Common::StringFromBuffer(host_buffer); |
| 150 | // For now, ignore options, which are in input buffer 1 for GetHostByNameRequestWithOptions. | 150 | // For now, ignore options, which are in input buffer 1 for GetHostByNameRequestWithOptions. |
| 151 | 151 | ||
| 152 | auto res = Network::GetAddrInfo(host, /*service*/ std::nullopt); | 152 | auto res = Network::GetAddressInfo(host, /*service*/ std::nullopt); |
| 153 | if (!res.has_value()) { | 153 | if (!res.has_value()) { |
| 154 | return {0, Translate(res.error())}; | 154 | return {0, Translate(res.error())}; |
| 155 | } | 155 | } |
| @@ -249,7 +249,7 @@ static std::pair<u32, GetAddrInfoError> GetAddrInfoRequestImpl(HLERequestContext | |||
| 249 | 249 | ||
| 250 | // Serialized hints are also passed in a buffer, but are ignored for now. | 250 | // Serialized hints are also passed in a buffer, but are ignored for now. |
| 251 | 251 | ||
| 252 | auto res = Network::GetAddrInfo(host, service); | 252 | auto res = Network::GetAddressInfo(host, service); |
| 253 | if (!res.has_value()) { | 253 | if (!res.has_value()) { |
| 254 | return {0, Translate(res.error())}; | 254 | return {0, Translate(res.error())}; |
| 255 | } | 255 | } |