diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-11-04 11:25:40 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-11-04 11:25:40 +0000 |
commit | 4a69d9203d590cdd9ffdfb06fa716224cfae286b (patch) | |
tree | d04593c360c307481d99bb66f7e2f30e1562f5b7 /epan/dissectors/packet-dtn.c | |
parent | c1b8394ebc3b7056fb13267629dc784b0c225a81 (diff) | |
download | wireshark-4a69d9203d590cdd9ffdfb06fa716224cfae286b.tar.gz |
Corrected pointer types to avoid warnings from clang.
svn path=/trunk/; revision=34773
Diffstat (limited to 'epan/dissectors/packet-dtn.c')
-rw-r--r-- | epan/dissectors/packet-dtn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dtn.c b/epan/dissectors/packet-dtn.c index 0073da9214..2f7522dfab 100644 --- a/epan/dissectors/packet-dtn.c +++ b/epan/dissectors/packet-dtn.c @@ -404,7 +404,7 @@ dissect_tcp_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) "TCP Convergence Header"); conv_tree = proto_item_add_subtree(conv_item, ett_tcp_conv_hdr); - if(conv_hdr == magic[0]) { + if(conv_hdr == (guint8)magic[0]) { sptr = (char *) tvb_get_ephemeral_string(tvb, frame_offset, 4); if(!memcmp(sptr, magic, 4)){ dissect_contact_header(tvb, pinfo, conv_tree, conv_item); |