aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
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;