diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-03-21 17:52:43 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-03-21 17:52:43 +0000 |
commit | f8a93562e06bfc5c0f0b7a7f738d95114eaa0338 (patch) | |
tree | c48c3d45981ff0797729e1b07d3c74ca48412e2d /epan/dissectors/packet-soupbintcp.c | |
parent | 63b578b1825616ca76d6ebfe5d502d8dd655d95c (diff) | |
download | wireshark-f8a93562e06bfc5c0f0b7a7f738d95114eaa0338.tar.gz wireshark-f8a93562e06bfc5c0f0b7a7f738d95114eaa0338.tar.bz2 wireshark-f8a93562e06bfc5c0f0b7a7f738d95114eaa0338.zip |
[-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.c | 6 |
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++; |