Skip to content
Commit 93d0f8c5 authored by Kumar Gala's avatar Kumar Gala Committed by Kumar Gala
Browse files

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: default avatarKumar Gala <kumar.gala@linaro.org>
parent 3c441374
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment