types: Fix build error due to unaligned memory access
authorOlivier Guiter <olivier.guiter@linux.intel.com>
Wed, 9 Jan 2013 12:42:37 +0000 (13:42 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 10 Jan 2013 12:08:59 +0000 (13:08 +0100)
commitc528844e8128fe8eb7da3269a0b5f5142a5690ff
treef3a2e0174e2a7ab54560953d308bfeacca968186
parent8fdb45b93475b8e5d37b8f520b206db0fdf8d999
types: Fix build error due to unaligned memory access

This fix number of build error on architectures that can't handle
unaligned memory access (eg. ARM).

Most of the code was originally written in BlueZ's bluetooth.h.
include/types.h
plugins/nfctype4.c
plugins/snep-core.c
src/bluetooth.c
src/ndef.c
src/tlv.c