ws union member must have actual struct at start not pointer

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2016-02-24 13:42:12 +08:00
parent b14f842891
commit 3daefb876a

View file

@ -953,7 +953,7 @@ struct _lws_header_related {
struct _lws_websocket_related {
/* cheapest way to deal with ah overlap with ws union transition */
struct _lws_header_related *hdr;
struct _lws_header_related hdr;
char *rx_ubuf;
unsigned int rx_ubuf_alloc;
struct lws *rx_draining_ext_list;