diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-30 18:18:12 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-30 18:18:12 +0000 |
commit | 8302c093b666e19cfb15545cd6d82b6b58b3602e (patch) | |
tree | bc1f07c6ce8f5804ee5905dd65a414a16bbea7b1 /epan/dissectors/packet-sap.c | |
parent | e4cab9054082f5f54e71ec38f139391aced19455 (diff) |
Make tvb_strneql()'s size parameter be a size_t. Remove some now-unnecessary casts.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34725 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-sap.c')
-rw-r--r-- | epan/dissectors/packet-sap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-sap.c b/epan/dissectors/packet-sap.c index 757eb9dda3..9030d59a4e 100644 --- a/epan/dissectors/packet-sap.c +++ b/epan/dissectors/packet-sap.c @@ -203,7 +203,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) auth_len, pad_len); return; } - + proto_tree_add_text(sa_tree, tvb, offset+1, auth_data_len-pad_len-1, "Authentication subheader: (%u byte%s)", @@ -230,7 +230,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } /* Do we have the optional payload type aka. MIME content specifier */ - if (tvb_strneql(tvb, offset, "v=", (int)strlen("v="))) { + if (tvb_strneql(tvb, offset, "v=", strlen("v="))) { gint remaining_len; guint32 pt_len; int pt_string_len; |