Skip to content

Commit

Permalink
Don't cast away constness.
Browse files Browse the repository at this point in the history
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@50855 f5534014-38df-0310-8fa8-9805f1628bb7
  • Loading branch information
guy committed Jul 23, 2013
1 parent 85a1291 commit 05f53b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epan/dissectors/packet-csn1.h
Expand Up @@ -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)
Expand Down

0 comments on commit 05f53b3

Please sign in to comment.