1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat
Orgad Shaneh 2badaef4fc unix plat: avoid strict aliasing complaint from a toolchain
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 3c95483518.
2020-09-16 07:07:04 +01:00
..
freertos freertos: fixes for build on atmel xdk 2020-09-03 12:49:54 +01:00
optee esp32-wrover-kit 2020-06-30 19:35:41 +01:00
unix unix plat: avoid strict aliasing complaint from a toolchain 2020-09-16 07:07:04 +01:00
windows lws_plugins 2020-08-31 16:51:37 +01:00