diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-10-09 08:40:02 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-10-09 08:40:02 +0000 |
commit | eb618abad9a969fcdf32129ab807f6cf7c5acb55 (patch) | |
tree | 3b341d16838d9e4f6f7c65babb8896279e3c38b6 /capture-pcap-util-unix.c | |
parent | 41ad59d6a7f4d3657862fcb20f17af7b85bb0683 (diff) | |
download | wireshark-eb618abad9a969fcdf32129ab807f6cf7c5acb55.tar.gz wireshark-eb618abad9a969fcdf32129ab807f6cf7c5acb55.tar.bz2 wireshark-eb618abad9a969fcdf32129ab807f6cf7c5acb55.zip |
From Bill Parker:
Explicitly declare/cast 'unsigned <variable>' as 'unsigned int <variable>'
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7810
svn path=/trunk/; revision=45418
Diffstat (limited to 'capture-pcap-util-unix.c')
-rw-r--r-- | capture-pcap-util-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/capture-pcap-util-unix.c b/capture-pcap-util-unix.c index 0e094b1add..df78f03176 100644 --- a/capture-pcap-util-unix.c +++ b/capture-pcap-util-unix.c @@ -151,7 +151,7 @@ get_interface_list(int *err, char **err_str) goto fail; } } else { - if ((unsigned) ifc.ifc_len < sizeof(struct ifreq)) { + if ((unsigned int) ifc.ifc_len < sizeof(struct ifreq)) { if (err_str != NULL) { *err_str = g_strdup( "Can't get list of interfaces: SIOCGIFCONF ioctl gave too small return buffer"); |