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:
parent
212e5bdaad
commit
b14e01c4ac
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue