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 /util.c | |
parent | 038da8730a3cc169e7bec2c5f0aaa268928ca514 (diff) |
Fix the rest of the signed/unsigned comparison warnings.
svn path=/trunk/; revision=4088
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |