Commit: 26f55a403a05a28563f6ff5a24cf70bcfc35f28b
Parent: f00bdeb27a298e740549d39b26de731f69758513
Author: Szymon Janc <szymon.janc@tieto.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-09-05 12:17:19
Tree: ee42890c4a2adae6830dfee4fbd480091615ec79

sap: Fix compilation errors due to unaligned memory access This fix following build errors on ARM. CC profiles/sap/bluetoothd-server.o profiles/sap/server.c: In function connect_req: profiles/sap/server.c:317:8: error: cast increases required alignment of targettype [-Werror=cast-align] profiles/sap/server.c: In function sap_connect_rsp: profiles/sap/server.c:676:16: error: cast increases required alignment of target type [-Werror=cast-align] cc1: all warnings being treated as errors make[1]: *** [profiles/sap/bluetoothd-server.o] Error 1 make: *** [all] Error 2

Diffstat

M profiles/sap/server.c | 9 +++- - - - - -

1 files changed, 3 insertions(+), 6 deletions(-)

View Full Diff | Patch