mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
6adaf5ca27
Accessing uint8_t[16] through a different type is an aliasing violation, i.e. undefined behaviour. Use memcpy to copy the bytes out, then AND them, then memcpy back in. The actual memcpy calls will be optimized away, but doing it this way avoids undefined behaviour. |
||
---|---|---|
.. | ||
ip2net.c | ||
Makefile | ||
qsort.c | ||
qsort.h |