summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-11 23:56:41 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-09-11 23:56:41 +0200
commit5bca1e6adf759f6b918b3b061610cba8adef0981 (patch)
treee98f1c4a8779edbb8f0f22a1757ec2283669dc4b /src/core/hle
parentMerge pull request #1149 from lioncash/override (diff)
parentGeneral: Replace NULL and '0' usages with nullptr where applicable (diff)
downloadyuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.tar
yuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.tar.gz
yuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.tar.bz2
yuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.tar.lz
yuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.tar.xz
yuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.tar.zst
yuzu-5bca1e6adf759f6b918b3b061610cba8adef0981.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/soc_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/soc_u.cpp b/src/core/hle/service/soc_u.cpp
index d768a3fc7..633b66fe2 100644
--- a/src/core/hle/service/soc_u.cpp
+++ b/src/core/hle/service/soc_u.cpp
@@ -485,7 +485,7 @@ static void GetHostId(Service::Interface* self) {
addrinfo* res;
hints.ai_family = AF_INET;
- getaddrinfo(name, NULL, &hints, &res);
+ getaddrinfo(name, nullptr, &hints, &res);
sockaddr_in* sock_addr = reinterpret_cast<sockaddr_in*>(res->ai_addr);
in_addr* addr = &sock_addr->sin_addr;