stkutil: Fix alignment issue with building event list

This commit is contained in:
Marcel Holtmann 2011-06-30 19:32:11 -07:00
parent 263e554d53
commit 6a183627f5
1 changed files with 1 additions and 1 deletions

View File

@ -4596,7 +4596,7 @@ static gboolean build_dataobj_event_type(struct stk_tlv_builder *tlv,
const void *data, gboolean cr)
{
const struct stk_event_list list = {
.list = { *(uint8_t *) data },
.list = { *(enum stk_event_type *) data },
.len = 1,
};