aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vcdu.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-19 22:03:00 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-19 22:03:00 +0000
commitae747e4c4b34c2d6889df335a439b9fba77538d0 (patch)
tree3586ed7bc3e608af6db8bf6eff87fb3990c45b35 /epan/dissectors/packet-vcdu.c
parent7c56677cf9e703e6dde30529b24e27dd2a4960a9 (diff)
From beroset:
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48430
Diffstat (limited to 'epan/dissectors/packet-vcdu.c')
-rw-r--r--epan/dissectors/packet-vcdu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-vcdu.c b/epan/dissectors/packet-vcdu.c
index 3fa2a92495..5f819c8b88 100644
--- a/epan/dissectors/packet-vcdu.c
+++ b/epan/dissectors/packet-vcdu.c
@@ -169,7 +169,7 @@ static guint num_channels_uat = 0;
UAT_DEC_CB_DEF(uat_bitchannels, channel, uat_channel_t)
static void vcdu_uat_data_update_cb(void* p, const char** err) {
- uat_channel_t *ud = p;
+ uat_channel_t *ud = (uat_channel_t *)p;
if (ud->channel >= 64) {
*err = ep_strdup_printf("Channel must be between 0-63.");
@@ -617,7 +617,7 @@ proto_register_vcdu(void)
sizeof(uat_channel_t),
"vcdu_bitstream_channels",
TRUE,
- (void*)&uat_bitchannels,
+ (void**)&uat_bitchannels,
&num_channels_uat,
UAT_AFFECTS_DISSECTION, /* affects dissection of packets, but not set of named fields */
NULL,