diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-09-30 22:01:04 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-09-30 22:01:04 +0000 |
commit | 63a2017571015e69e1b766b610c6ea361dab89c8 (patch) | |
tree | 3d75335b3d9846859909790137aec4f21ec4f443 /epan/dissectors/packet-erf.c | |
parent | 51a72a3478457aa8d7b96aa934caeeb518d9f5f8 (diff) |
Add a cast to avoid a warning.
svn path=/trunk/; revision=26315
Diffstat (limited to 'epan/dissectors/packet-erf.c')
-rw-r--r-- | epan/dissectors/packet-erf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-erf.c b/epan/dissectors/packet-erf.c index 49a208dbb6..4e2c90a54a 100644 --- a/epan/dissectors/packet-erf.c +++ b/epan/dissectors/packet-erf.c @@ -455,7 +455,7 @@ dissect_classification_ex_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree proto_item *int_item= NULL, *flags_item = NULL; proto_tree *int_tree = NULL, *flags_tree = NULL; guint64 hdr = pinfo->pseudo_header->erf.ehdr_list[idx].ehdr; - guint32 value = hdr >> 32; + guint32 value = (guint32)(hdr >> 32); if (pseudo_hdr_tree){ int_item = proto_tree_add_text(pseudo_hdr_tree, tvb, 0, 0, "Classification"); |