From 8d863b6250705b3f7755f07e6677522c84390d60 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Fri, 28 May 2010 11:20:14 -0500 Subject: [PATCH] stkutil: Use more understandable syntax --- src/stkutil.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/stkutil.c b/src/stkutil.c index 8502123..dda47de 100644 --- a/src/stkutil.c +++ b/src/stkutil.c @@ -3623,9 +3623,12 @@ static gboolean build_dataobj_access_technologies(struct stk_tlv_builder *tlv, static gboolean build_dataobj_access_technology(struct stk_tlv_builder *tlv, const void *data, gboolean cr) { - return build_dataobj_access_technologies(tlv, - &(const struct stk_access_technologies) { - .techs = data, .length = 1 }, cr); + const struct stk_access_technologies techs = { + .techs = data, + .length = 1, + }; + + return build_dataobj_access_technologies(tlv, &techs, cr); } /* Described in TS 102.223 Section 8.69 */ -- 2.7.4