mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
Revert "Attempt to silence warnings by casting to socklen_t"
This reverts commit 6c8f649b02606c17a9246f8a6c6d5b9f04e14b19.
This commit is contained in:
parent
6c8f649b02
commit
c7c42409f1
@ -35,7 +35,7 @@ static bool translate_addr(struct sockaddr_in *addr,
|
||||
{
|
||||
#ifndef HAVE_SOCKET_LEGACY
|
||||
if (getnameinfo((struct sockaddr *) addr, sizeof(*addr),
|
||||
host, (socklen_t)hostlen, (socklen_t)port, (socklen_t)portlen,
|
||||
host, hostlen, port, portlen,
|
||||
NI_NUMERICHOST | NI_NUMERICSERV))
|
||||
return false;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user