diff options
author | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-10-26 18:28:17 +0000 |
---|---|---|
committer | gram <gram@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-10-26 18:28:17 +0000 |
commit | 82c946ad85c1f801dd4f20a9078d91c584419c9a (patch) | |
tree | a82726e3867914409cfb8883ca39d8c99418dd0f /util.c | |
parent | 9f3d968087691b428769584552ba1b2706a09631 (diff) |
Fix the rest of the signed/unsigned comparison warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4088 f5534014-38df-0310-8fa8-9805f1628bb7
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; |