diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-24 19:09:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-24 19:09:40 +0000 |
commit | 5e6d63a804a105f1cd8561ead7579e9a236b732a (patch) | |
tree | 0db089a8e9f67e10d7583eb267efca8cdbbc1c91 /epan/dissectors/packet-isakmp.c | |
parent | 3cf75fd6bb75d770486c01fc512fb1796a765d96 (diff) |
Squelch some compiler warnings.
svn path=/trunk/; revision=15991
Diffstat (limited to 'epan/dissectors/packet-isakmp.c')
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index dca9278dc3..64a73e014a 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -1136,14 +1136,14 @@ dissect_id(tvbuff_t *tvb, int offset, int length, proto_tree *tree, case 5: /* ID_IPV6_ADDR */ proto_tree_add_text(tree, tvb, offset, length, "Identification data: %s", - ip6_to_str(tvb_get_ptr(tvb, offset, 16))); + ip6_to_str((const struct e_in6_addr *)tvb_get_ptr(tvb, offset, 16))); break; case 6: /* ID_IPV6_ADDR_SUBNET */ case 8: /* ID_IPV6_ADDR_RANGE */ proto_tree_add_text(tree, tvb, offset, length, "Identification data: %s/%s", - ip6_to_str(tvb_get_ptr(tvb, offset, 16)), - ip6_to_str(tvb_get_ptr(tvb, offset+16, 16))); + ip6_to_str((const struct e_in6_addr *)tvb_get_ptr(tvb, offset, 16)), + ip6_to_str((const struct e_in6_addr *)tvb_get_ptr(tvb, offset+16, 16))); break; case 9: dissect_x509if_Name(FALSE, tvb, offset, pinfo, tree, @@ -1803,12 +1803,12 @@ dissect_ts(tvbuff_t *tvb, int offset, int length, proto_tree *tree, case 8: proto_tree_add_text(tree, tvb, offset, length, "Starting Address: %s", - ip6_to_str(tvb_get_ptr(tvb, offset, addrlen))); + ip6_to_str((const struct e_in6_addr *)tvb_get_ptr(tvb, offset, addrlen))); offset += addrlen; length -= addrlen; proto_tree_add_text(tree, tvb, offset, length, "Ending Address: %s", - ip6_to_str(tvb_get_ptr(tvb, offset, addrlen))); + ip6_to_str((const struct e_in6_addr *)tvb_get_ptr(tvb, offset, addrlen))); offset += addrlen; length -= addrlen; break; |