| commit | 93d0f8c58dbe973f95f7e8b4f7a23dd4e97dd45b | [log] [tgz] |
|---|---|---|
| author | Kumar Gala <kumar.gala@linaro.org> | Wed Jan 30 16:18:49 2019 -0600 |
| committer | Kumar Gala <kumar.gala@gmail.com> | Thu Jan 31 03:13:52 2019 -0600 |
| tree | 9afc3c458b30bcc8c2ef5363c98878944d09ea37 | |
| parent | 3c44137447ba752a7b02ed675559f6ecdd97d035 [diff] |
dfu: Fix build issue with gcc8
We get the following warning when buiding with gcc8:
error: 'packed' attribute ignored for type 'u32_t *'
{aka 'unsigned int *'} [-Werror=attributes]
Use UNALIGNED_GET() to access the data since we don't know the
alignment.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>