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>
This commit is contained in:
Uli Heilmeier 2018-06-29 11:13:35 +02:00 committed by Alexis La Goutte
parent 212e5bdaad
commit b14e01c4ac
1 changed files with 1 additions and 1 deletions

View File

@ -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 {