aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-exablaze.c
diff options
context:
space:
mode:
authorUli Heilmeier <uh@heilmeier.eu>2018-06-29 11:13:35 +0200
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2018-06-30 10:53:19 +0000
commitb14e01c4acb4f9df857f7ef8ddec6d0c1f709557 (patch)
treecfcab80e9a5ee047246c3aba096aa484c31551d4 /epan/dissectors/packet-exablaze.c
parent212e5bdaad668ef881bf0ef266e77dd18224982a (diff)
Exablaze: Fix signed/unsigned comparison
Change-Id: Ibfdb86a6590921039634f0e4a8e48099d13a2d20 Reviewed-on: https://code.wireshark.org/review/28530 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-exablaze.c')
-rw-r--r--epan/dissectors/packet-exablaze.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-exablaze.c b/epan/dissectors/packet-exablaze.c
index 3a3126f863..d2fd870b87 100644
--- a/epan/dissectors/packet-exablaze.c
+++ b/epan/dissectors/packet-exablaze.c
@@ -75,7 +75,7 @@ dissect_exablaze(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
/* If the capture time and timestamp differ by more than a week,
* then this is probably not a valid Exablaze trailer */
- if (timestamp_sec > pinfo->abs_ts.secs) {
+ if (timestamp_sec > (guint)pinfo->abs_ts.secs) {
if (timestamp_sec - pinfo->abs_ts.secs > 604800)
continue;
} else {