aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-soupbintcp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-03-21 17:52:43 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-03-21 17:52:43 +0000
commitf8a93562e06bfc5c0f0b7a7f738d95114eaa0338 (patch)
treec48c3d45981ff0797729e1b07d3c74ca48412e2d /epan/dissectors/packet-soupbintcp.c
parent63b578b1825616ca76d6ebfe5d502d8dd655d95c (diff)
[-Wmissing-prototypes]
Use explicit casts. svn path=/trunk/; revision=48457
Diffstat (limited to 'epan/dissectors/packet-soupbintcp.c')
-rw-r--r--epan/dissectors/packet-soupbintcp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-soupbintcp.c b/epan/dissectors/packet-soupbintcp.c
index 4af6890a89..9926bdcea1 100644
--- a/epan/dissectors/packet-soupbintcp.c
+++ b/epan/dissectors/packet-soupbintcp.c
@@ -64,6 +64,8 @@
/* For tcp_dissect_pdus() */
#include "packet-tcp.h"
+void proto_register_soupbintcp(void);
+void proto_reg_handoff_soupbintcp(void);
/** Session data stored in the conversation */
struct conv_data {
@@ -246,7 +248,7 @@ dissect_soupbintcp_common(
0);
/* Store starting sequence number for session's packets */
- conv_data = wmem_alloc(wmem_file_scope(), sizeof(struct conv_data));
+ conv_data = (struct conv_data *)wmem_alloc(wmem_file_scope(), sizeof(struct conv_data));
conv_data->next_seq = next_seq;
conversation_add_proto_data(conv, proto_soupbintcp, conv_data);
}
@@ -265,7 +267,7 @@ dissect_soupbintcp_common(
if (!conv) {
this_seq = 0;
} else {
- conv_data = conversation_get_proto_data(conv,
+ conv_data = (struct conv_data *)conversation_get_proto_data(conv,
proto_soupbintcp);
if (conv_data) {
this_seq = conv_data->next_seq++;