mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-23 00:00:06 +01:00
![]() The type of the fields in rtentry is sockaddr, and it is
casted to sockaddr_in. Size-wise it is ok, they should both
be the same size. But casting a pointer breaks build with
optimizations with the following error:
unix-sockets.c:434: error: dereferencing pointer 'addr' does break strict-aliasing rules
Amends commit
|
||
---|---|---|
.. | ||
android | ||
CMakeLists.txt | ||
private-lib-plat-unix.h | ||
unix-caps.c | ||
unix-fds.c | ||
unix-file.c | ||
unix-init.c | ||
unix-misc.c | ||
unix-pipe.c | ||
unix-plugins.c | ||
unix-resolv.c | ||
unix-service.c | ||
unix-sockets.c | ||
unix-spawn.c |