-
Jean-Paul Saman authored
When using -Werror and -Wcast-align the use of sockaddr casting triggers a warning about the cast saying: 'cast increases required alignment of target type' on ARM and MIPS platform. A safer way to cast back and forth between sockaddr and sockaddr_in (or sockaddr_in6) is using sockaddr_storage.
7e54cb24