summaryrefslogtreecommitdiffstats
path: root/src/stkutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stkutil.c')
-rw-r--r--src/stkutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stkutil.c b/src/stkutil.c
index 8b4c5191..49fe1349 100644
--- a/src/stkutil.c
+++ b/src/stkutil.c
@@ -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,
};