aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-corosync-totemsrp.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2014-06-19 16:55:28 -0700
committerEvan Huus <eapache@gmail.com>2014-06-19 23:55:47 +0000
commit0c3e1a243bf3db07ce446f9e5ac2df93573b23f5 (patch)
treea66480518723070fade600a9b6402e165f2ae14f /epan/dissectors/packet-corosync-totemsrp.c
parentcdb68020ee1316714ad1e61d4c5779cfa3859882 (diff)
Add casting and license info to fix buildbots
Change-Id: Iea53b17480d758c16822d80778fa4f186a188a91 Reviewed-on: https://code.wireshark.org/review/2470 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-corosync-totemsrp.c')
-rw-r--r--epan/dissectors/packet-corosync-totemsrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-corosync-totemsrp.c b/epan/dissectors/packet-corosync-totemsrp.c
index 10cdf9c2eb..109e1b8309 100644
--- a/epan/dissectors/packet-corosync-totemsrp.c
+++ b/epan/dissectors/packet-corosync-totemsrp.c
@@ -292,7 +292,7 @@ dissect_corosync_totemsrp_ip_address(tvbuff_t *tvb,
if (len != sizeof(struct e_in6_addr)) {
gint padding_len;
- padding_len = (sizeof(struct e_in6_addr) - len);
+ padding_len = (gint)(sizeof(struct e_in6_addr) - len);
proto_tree_add_item (tree, hf_corosync_totemsrp_ip_address_addr4_padding,
tvb, offset, padding_len, FALSE);
offset += padding_len;