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 /tethereal.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 'tethereal.c')
-rw-r--r-- | tethereal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tethereal.c b/tethereal.c index 35be1a6287..9035db8e0c 100644 --- a/tethereal.c +++ b/tethereal.c @@ -1,6 +1,6 @@ /* tethereal.c * - * $Id: tethereal.c,v 1.94 2001/10/25 06:41:48 guy Exp $ + * $Id: tethereal.c,v 1.95 2001/10/26 18:28:16 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1031,8 +1031,8 @@ fill_in_fdata(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; } |