diff options
author | AndersBroman <anders.broman@ericsson.com> | 2014-07-07 16:27:51 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-07-07 14:34:27 +0000 |
commit | 4ac9895884f117871a8bf36ce69ec0eda6503cfc (patch) | |
tree | 7371fdfbe8acf86b67bcd1d2ebfdc1a85d664280 | |
parent | 7801a97fd86acdee8c4525be503720d791124f64 (diff) |
See if yhis fixes "cast discards '__attribute__((const))' qualifier from
pointer target type"
Change-Id: I0f97b119f1e6151622d360464f12ad399cbaf117
Reviewed-on: https://code.wireshark.org/review/2917
Tested-by: Anders Broman <a.broman58@gmail.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-csn1.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-csn1.h b/epan/dissectors/packet-csn1.h index 05540e649c..c2fe2f458c 100644 --- a/epan/dissectors/packet-csn1.h +++ b/epan/dissectors/packet-csn1.h @@ -495,7 +495,7 @@ gint16 csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pD * Par4: C string for the text *****************************************************************************/ #define M_TYPE_LABEL(_STRUCT, _MEMBER, _MEMBER_TYPE, _LABEL)\ - {CSN_TYPE, 0, {(void*)CSNDESCR_##_MEMBER_TYPE}, offsetof(_STRUCT, _MEMBER), FALSE, _LABEL, {NULL}, NULL} + {CSN_TYPE, 0, {(const void*)CSNDESCR_##_MEMBER_TYPE}, offsetof(_STRUCT, _MEMBER), FALSE, _LABEL, {NULL}, NULL} /****************************************************************************** * M_UNION(Par1, Par2) |