aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpascal <pascal@localhost>2012-04-15 12:07:47 +0000
committerpascal <pascal@localhost>2012-04-15 12:07:47 +0000
commit24559a876cdfca965652f298f1c680e068a50ec3 (patch)
tree64ba42319ade12ec964136742dfae778e01e46a9
parent1e2f3bb55a31fa2f9e281b051ed3957efa89e678 (diff)
Fix compilation error under Windows
svn path=/trunk/; revision=42082
-rw-r--r--asn1/rrc/rrc.cnf2
-rw-r--r--epan/dissectors/packet-rrc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/asn1/rrc/rrc.cnf b/asn1/rrc/rrc.cnf
index 5a8b9fef19..8da67e923a 100644
--- a/asn1/rrc/rrc.cnf
+++ b/asn1/rrc/rrc.cnf
@@ -562,7 +562,7 @@ tvbuff_t *parameter_tvb=NULL;
#.TYPE_ATTR
HNBName TYPE=FT_STRING DISPLAY=BASE_NONE
-#.FN_BODY CN-DomainIdentity VAL_PTR = &rrc_nas_sys_info_gsm_map_type
+#.FN_BODY CN-DomainIdentity VAL_PTR = (guint32*)(&rrc_nas_sys_info_gsm_map_type)
%(DEFAULT_BODY)s
#.FN_BODY CN-InformationInfo/cn-CommonGSM-MAP-NAS-SysInfo
diff --git a/epan/dissectors/packet-rrc.c b/epan/dissectors/packet-rrc.c
index 4d4261c950..e0d502b490 100644
--- a/epan/dissectors/packet-rrc.c
+++ b/epan/dissectors/packet-rrc.c
@@ -15248,7 +15248,7 @@ static int
dissect_rrc_CN_DomainIdentity(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
#line 566 "../../asn1/rrc/rrc.cnf"
offset = dissect_per_enumerated(tvb, offset, actx, tree, hf_index,
- 2, &rrc_nas_sys_info_gsm_map_type, FALSE, 0, NULL);
+ 2, (guint32*)(&rrc_nas_sys_info_gsm_map_type), FALSE, 0, NULL);