diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-07-23 23:39:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-07-23 23:39:37 +0000 |
commit | 8e22ded7f8537e37e89ba558c83702d127443ae8 (patch) | |
tree | 8d4dc9f5d19c08099db03fc2953ee8efc7a7ae21 /epan/dissectors/packet-csn1.h | |
parent | 0751daed8aaec513d0798780ca12f5f28478e449 (diff) |
Don't cast away constness.
svn path=/trunk/; revision=50855
Diffstat (limited to 'epan/dissectors/packet-csn1.h')
-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 73432c9504..0c46515bab 100644 --- a/epan/dissectors/packet-csn1.h +++ b/epan/dissectors/packet-csn1.h @@ -485,7 +485,7 @@ gint16 csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pD * Par3: type of member *****************************************************************************/ #define M_TYPE(_STRUCT, _MEMBER, _MEMBER_TYPE)\ - {CSN_TYPE, 0, {(void*)CSNDESCR_##_MEMBER_TYPE}, offsetof(_STRUCT, _MEMBER), FALSE, #_MEMBER, {NULL}, NULL} + {CSN_TYPE, 0, {(const void*)CSNDESCR_##_MEMBER_TYPE}, offsetof(_STRUCT, _MEMBER), FALSE, #_MEMBER, {NULL}, NULL} /****************************************************************************** * M_TYPE_LABEL(Par1, Par2, Par3, Par4) |