summaryrefslogtreecommitdiffstats
path: root/src/stkutil.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-06-30 19:32:11 -0700
committerMarcel Holtmann <marcel@holtmann.org>2011-06-30 19:32:11 -0700
commit6a183627f5307a17f0fe5921272bd2bf37ad50e3 (patch)
tree6670a9385e57056e8ec363f3a15ad5b43d150c67 /src/stkutil.c
parent263e554d539c9110c4c5848c42eb75b3d3f3de6c (diff)
downloadofono-6a183627f5307a17f0fe5921272bd2bf37ad50e3.tar.bz2
stkutil: Fix alignment issue with building event list
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,
};