Parent: 65ad6793a166b9263fc53fb2840f24ec6f2c45b0
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-18 13:42:50
Tree: 640188bdbe0fd6ad2cd6ccf053da433c15a9cbe2
hcidump: Fix compilation errors due to unaligned memory access Use bt_get_le* helper functions to access unaligned memory. This fix number of compilation errors on ARM similar to: CC tools/parser/hci.o tools/parser/hci.c: In function ‘ext_inquiry_data_dump’: tools/parser/hci.c:797:10 error: cast increases required alignment of target type [-Werror=cast-align] tools/parser/hci.c:797:10: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors make[1]: *** [tools/parser/hci.o] Error 1
Diffstat
| M | tools/parser/hci.c | | | 7 | ++- - - - - |
| M | tools/parser/l2cap.c | | | 22 | +++++++++++- - - - - - - - - - - |
2 files changed, 13 insertions(+), 16 deletions(-)