diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2017-05-22 11:33:12 -0700 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2017-05-22 17:09:55 -0700 |
commit | 40ee7474a319b8ad54155fd2cb6385df8e6f05bb (patch) | |
tree | b952571498b3383c344ac5e83df01a482211f4c8 /examples/imx7_colibri_m4/gpio_pins.c | |
parent | a03211ad94d1972fa255c5892665e14ca623d218 (diff) |
fix strict alias warning
Use explicit pointer to struct rpmsg_hdr_reserved to avoid warnings:
rpmsg_ext.c:160:18: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((struct rpmsg_hdr_reserved*)&hdr->reserved)->idx = idx;
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'examples/imx7_colibri_m4/gpio_pins.c')
0 files changed, 0 insertions, 0 deletions