diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-08-23 23:51:52 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-08-23 23:51:52 +0000 |
commit | 0675ed74943a53daae10ff641a71c28a4d87252f (patch) | |
tree | dbf960d45a5b8b5030327d62a1fd64f6f2e730fc /asn1 | |
parent | 9becffea0834e675d8f39e453913e518680a273b (diff) |
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
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/lte-rrc/lte-rrc.cnf | 2 |
1 files changed, 1 insertions, 1 deletions
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); |