General: Replace NULL and '0' usages with nullptr where applicable

This commit is contained in:
Lioncash 2015-09-11 14:50:10 -04:00
parent 506ab06238
commit 60b3fc01a2
11 changed files with 38 additions and 38 deletions

View file

@ -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;