General: Replace NULL and '0' usages with nullptr where applicable
This commit is contained in:
parent
506ab06238
commit
60b3fc01a2
11 changed files with 38 additions and 38 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue