aboutsummaryrefslogtreecommitdiffstats
path: root/util.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 /util.c
parent038da8730a3cc169e7bec2c5f0aaa268928ca514 (diff)
Fix the rest of the signed/unsigned comparison warnings.
svn path=/trunk/; revision=4088
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index dc078b8793..ea2d62971c 100644
--- a/util.c
+++ b/util.c
@@ -1,7 +1,7 @@
/* util.c
* Utility routines
*
- * $Id: util.c,v 1.52 2001/08/21 06:39:15 guy Exp $
+ * $Id: util.c,v 1.53 2001/10/26 18:28:17 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -401,7 +401,7 @@ get_interface_list(int *err, char *err_str)
goto fail;
}
} else {
- if (ifc.ifc_len < sizeof(struct ifreq)) {
+ if ((unsigned) ifc.ifc_len < sizeof(struct ifreq)) {
sprintf(err_str,
"SIOCGIFCONF ioctl gave too small return buffer");
goto fail;