aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/lte-rrc
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2013-08-10 17:09:12 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2013-08-10 17:09:12 +0000
commit237182ba42445ecb5a067fb74f14f3ccfec601e7 (patch)
treeae66a5b1333258b053b0e8e2ee5f7e909812e4c9 /asn1/lte-rrc
parent11304a30ee06b6532e0c8b3139b56e48ee534c65 (diff)
Use proper macros to cast between uint and pointer
svn path=/trunk/; revision=51246
Diffstat (limited to 'asn1/lte-rrc')
-rw-r--r--asn1/lte-rrc/lte-rrc.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/lte-rrc/lte-rrc.cnf b/asn1/lte-rrc/lte-rrc.cnf
index f024e86600..110cde109d 100644
--- a/asn1/lte-rrc/lte-rrc.cnf
+++ b/asn1/lte-rrc/lte-rrc.cnf
@@ -1279,13 +1279,13 @@ SoundingRS-UL-ConfigDedicated/setup/duration STRINGS=TFS(&lte_rrc_duration_val)
guint value;
%(DEFAULT_BODY)s
/* This is mandatory, store value */
- actx->private_data = (void*)value;
+ actx->private_data = GUINT_TO_POINTER(value);
#.FN_BODY RACH-ConfigCommon/preambleInfo/preamblesGroupAConfig/sizeOfRA-PreamblesGroupA VAL_PTR=&value
guint ra_value, value;
%(DEFAULT_BODY)s
/* Retrived stored value for RA (both Group A & Group B) */
- ra_value = (guint)(guint*)actx->private_data;
+ ra_value = GPOINTER_TO_UINT(actx->private_data);
if (value > ra_value) {
/* Something is wrong if A has more RAPIDs than A & B combined! */
expert_add_info_format_text(actx->pinfo, actx->created_item, &ei_lte_rrc_too_many_group_a_rapids,