diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-12-31 13:33:51 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-12-31 21:34:24 +0000 |
commit | 12937fc071ae1124cfd12acf910449d8c54d19be (patch) | |
tree | 6d3f4c29106df922fa9d3b5b7643483ef412f78e /epan/dissectors/packet-csn1.h | |
parent | a222efad758528257016b2c2af8980d17e1fb819 (diff) |
Don't cast away constness.
Change-Id: I75c782185b8847abf8c985572d8280271ba00a5a
Reviewed-on: https://code.wireshark.org/review/12968
Reviewed-by: Guy Harris <guy@alum.mit.edu>
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 72f6e81f95..0bac0595b2 100644 --- a/epan/dissectors/packet-csn1.h +++ b/epan/dissectors/packet-csn1.h @@ -556,7 +556,7 @@ gint16 csnStreamDissector(proto_tree *tree, csnStream_t* ar, const CSN_DESCR* pD * displayed to show there was a choice *****************************************************************************/ #define M_CHOICE_IL(_STRUCT, _MEMBER, _CHOICE, _ElementCount, _HF_PTR)\ - {CSN_CHOICE, _ElementCount, {(void*)_CHOICE}, offsetof(_STRUCT, _MEMBER), FALSE, NULL, NULL, 0, _HF_PTR, NULL, NULL} + {CSN_CHOICE, _ElementCount, {(const void*)_CHOICE}, offsetof(_STRUCT, _MEMBER), FALSE, NULL, NULL, 0, _HF_PTR, NULL, NULL} /****************************************************************************** * M_FIXED(Par1, Par2, Par3) |