udhcpc6: Fixed aliasing compilation error

Signed-off-by: Martin Lewis <martin.lewis.x84@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
1_31_stable
Martin Lewis 2019-05-26 14:22:44 +02:00 committed by Denys Vlasenko
parent 8b35f207bb
commit 818d9e02f2
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ struct client6_data_t {
unsigned env_idx; unsigned env_idx;
/* link-local IPv6 address */ /* link-local IPv6 address */
struct in6_addr ll_ip6; struct in6_addr ll_ip6;
}; } FIX_ALIASING;
#define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)])) #define client6_data (*(struct client6_data_t*)(&bb_common_bufsiz1[COMMON_BUFSIZE - sizeof(struct client6_data_t)]))