Don't cast away constness.

svn path=/trunk/; revision=50855
This commit is contained in:
Guy Harris 2013-07-23 23:39:37 +00:00
parent 0751daed8a
commit 8e22ded7f8
1 changed files with 1 additions and 1 deletions

View File

@ -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)