Skip to content

Commit

Permalink
fixup! libponyrt: Make all implicit conversions explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrv committed Nov 28, 2019
1 parent 830e8d5 commit 6deb361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libponyrt/lang/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@ PONY_API void pony_os_multicast_interface(int fd, const char* from)
if(p != NULL)
{
setsockopt((SOCKET)fd, IPPROTO_IP, IP_MULTICAST_IF,
(const char*)&p->ai_addr, (ADDRLEN_T)p->ai_addrlen);
(const char*)&p->ai_addr, (SOCKLEN_T)p->ai_addrlen);
freeaddrinfo(p);
}
}
Expand Down

0 comments on commit 6deb361

Please sign in to comment.