diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-11-05 12:11:49 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2009-11-05 12:11:49 +0200 |
commit | 5a641ae01e9d9040cf838b6c40dbda1b8c724aba (patch) | |
tree | ae1599f179c95c8f8e26a1d0a94e314db0ab0fbf /wpa_supplicant/wps_supplicant.c | |
parent | d27df100b587dd95f3256a8baf9db0c5d4380089 (diff) | |
download | external_wpa_supplicant_8_ti-5a641ae01e9d9040cf838b6c40dbda1b8c724aba.zip external_wpa_supplicant_8_ti-5a641ae01e9d9040cf838b6c40dbda1b8c724aba.tar.gz external_wpa_supplicant_8_ti-5a641ae01e9d9040cf838b6c40dbda1b8c724aba.tar.bz2 |
Use type-punning to avoid breaking strict aliasing rules
While the actual use here would be unlikely to be broken by any C
optimization, it is better to use explicit union construction to let
gcc know about the aliasing and avoid warnings from gcc 4.4.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
0 files changed, 0 insertions, 0 deletions