mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 23:58:02 -05:00
General: Replace NULL and '0' usages with nullptr where applicable
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user