diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-10-26 18:28:17 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-10-26 18:28:17 +0000 |
commit | 6de396c4a889a107de4e937313774effb208cdbe (patch) | |
tree | a82726e3867914409cfb8883ca39d8c99418dd0f /file.c | |
parent | 038da8730a3cc169e7bec2c5f0aaa268928ca514 (diff) | |
download | wireshark-6de396c4a889a107de4e937313774effb208cdbe.tar.gz wireshark-6de396c4a889a107de4e937313774effb208cdbe.tar.bz2 wireshark-6de396c4a889a107de4e937313774effb208cdbe.zip |
Fix the rest of the signed/unsigned comparison warnings.
svn path=/trunk/; revision=4088
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |