aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-10-26 18:28:17 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-10-26 18:28:17 +0000
commit6de396c4a889a107de4e937313774effb208cdbe (patch)
treea82726e3867914409cfb8883ca39d8c99418dd0f /file.c
parent038da8730a3cc169e7bec2c5f0aaa268928ca514 (diff)
Fix the rest of the signed/unsigned comparison warnings.
svn path=/trunk/; revision=4088
Diffstat (limited to 'file.c')
-rw-r--r--file.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/file.c b/file.c
index ed2e69fc07..4aa801ec5e 100644
--- a/file.c
+++ b/file.c
@@ -1,7 +1,7 @@
/* file.c
* File I/O routines
*
- * $Id: file.c,v 1.245 2001/10/04 08:30:33 guy Exp $
+ * $Id: file.c,v 1.246 2001/10/26 18:28:15 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -699,8 +699,8 @@ add_packet_to_packet_list(frame_data *fdata, capture_file *cf,
/* If it's greater than the current elapsed time, set the elapsed time
to it (we check for "greater than" so as not to be confused by
time moving backwards). */
- if (cf->esec < fdata->rel_secs
- || (cf->esec == fdata->rel_secs && cf->eusec < fdata->rel_usecs)) {
+ if ((gint32)cf->esec < fdata->rel_secs
+ || ((gint32)cf->esec == fdata->rel_secs && (gint32)cf->eusec < fdata->rel_usecs)) {
cf->esec = fdata->rel_secs;
cf->eusec = fdata->rel_usecs;
}