Commit: f4ececd75a1aeb3303ff88421a40699442a0edb2
Parent: 28cf717c04ac33e5110f0c07dea28a920cf71fe3
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-12-11 07:41:08
Tree: e9ba5d25d55569d2e5b3053abf74b5949c0c1055

monitor: Fix build errors due to unaligned memory access This fix following compilation errors on ARM. CC monitor/hcidump.o monitor/hcidump.c: In function ‘device_callback’: monitor/hcidump.c:147:11: error: cast increases required alignment of target type [-Werror=cast-align] monitor/hcidump.c:150:10: error: cast increases required alignment of target type [-Werror=cast-align] monitor/hcidump.c: In function ‘stack_internal_callback’: monitor/hcidump.c:348:9: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors make[1]: *** [monitor/hcidump.o] Error 1 CC monitor/control.o monitor/control.c: In function ‘data_callback’: monitor/control.c:584:10: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors make[1]: *** [monitor/control.o] Error 1

Diffstat

M monitor/control.c | 7 +++++- -
M monitor/hcidump.c | 18 +++++++++++- - - - - - -

2 files changed, 16 insertions(+), 9 deletions(-)

View Full Diff | Patch