From 0675ed74943a53daae10ff641a71c28a4d87252f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 23 Aug 2013 23:51:52 +0000 Subject: Clang, clang, clang went the warning.... Fix a memset (drb_mapping is a pointer, so its size is the size of a pointer; we want the size of what it points to). svn path=/trunk/; revision=51500 --- asn1/lte-rrc/lte-rrc.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'asn1') diff --git a/asn1/lte-rrc/lte-rrc.cnf b/asn1/lte-rrc/lte-rrc.cnf index 10f2092af4..4363dc8366 100644 --- a/asn1/lte-rrc/lte-rrc.cnf +++ b/asn1/lte-rrc/lte-rrc.cnf @@ -1189,7 +1189,7 @@ SoundingRS-UL-ConfigDedicated/setup/duration STRINGS=TFS(<e_rrc_duration_val) struct mac_lte_info *p_mac_lte_info; /* Get the struct and clear it out */ drb_mapping_t *drb_mapping = private_data_get_drb_mapping(actx); - memset(drb_mapping, 0, sizeof(drb_mapping)); + memset(drb_mapping, 0, sizeof(*drb_mapping)); %(DEFAULT_BODY)s /* Need UE identifier */ p_mac_lte_info = (mac_lte_info *)p_get_proto_data(actx->pinfo->fd, proto_mac_lte, 0); -- cgit v1.2.3