Commit: 66cab3c8674a7929e521b8effd76fdc9dc5da33f
Parent: 3775d077acab5d057eb4b12eb0271f647a036753
Author: Bastien Nocera <hadess@hadess.net>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2019-05-13 20:23:45
Tree: 66b0a01e1bcf16d9f491a11c2075c37f56f7436c

android/hal-bluetooth: Fix unaligned struct access android/hal-bluetooth.c: In function ‘set_adapter_property’: android/hal-bluetooth.c:659:46: error: taking address of packed member of ‘struct hal_cmd_set_adapter_prop’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 659 | adapter_prop_from_hal(property, &cmd->type, &cmd->len, cmd->val); | ^~~~~~~~~

Diffstat

M android/hal-bluetooth.c | 4 +++-

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

View Full Diff | Patch