diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2012-04-20 13:02:47 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-04-20 18:07:31 +0200 |
commit | 20807db0f40b538e0b781a61a9a7d54d3a633a73 (patch) | |
tree | 726ead4ae74fd937a16d9feed35a9694da5fa47b /plugins | |
parent | e436352b08263869f29ca9283ab1bf95e5b14b03 (diff) | |
download | connman-20807db0f40b538e0b781a61a9a7d54d3a633a73.tar.gz connman-20807db0f40b538e0b781a61a9a7d54d3a633a73.tar.bz2 connman-20807db0f40b538e0b781a61a9a7d54d3a633a73.zip |
gdhcp: fix strict-aliasing warning
The previous way was giving the following warning with gcc 4.7:
CC gdhcp/common.o
gdhcp/common.c: In function 'dhcp_add_simple_option':
gdhcp/common.c:275:38: error: dereferencing type-punned pointer will
break strict-aliasing rules [-Werror=strict-aliasing
Change it slightly so not to give this warning.
Diffstat (limited to 'plugins')
0 files changed, 0 insertions, 0 deletions