aboutsummaryrefslogtreecommitdiffstats
path: root/capture_unix_ifnames.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-03-24 18:22:07 +0000
committerGuy Harris <guy@alum.mit.edu>2013-03-24 18:22:07 +0000
commit7a9158418c70416fd6dc780078840ecee5d9df5b (patch)
treed6ae8fa5132863bb24f36374bd3a0c88e0436bfd /capture_unix_ifnames.c
parent986d423b5b4528a9e86df1a96840a39c763f3572 (diff)
Replace implicit conversions with explicit casts.
svn path=/trunk/; revision=48534
Diffstat (limited to 'capture_unix_ifnames.c')
-rw-r--r--capture_unix_ifnames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture_unix_ifnames.c b/capture_unix_ifnames.c
index e2584226da..42d0d7acc7 100644
--- a/capture_unix_ifnames.c
+++ b/capture_unix_ifnames.c
@@ -78,7 +78,7 @@ get_unix_interface_friendly_name(const char *ifname)
num_interfaces = CFArrayGetCount(interfaces);
for (i = 0; i < num_interfaces; i++) {
- interface = CFArrayGetValueAtIndex(interfaces, i);
+ interface = (SCNetworkInterfaceRef)CFArrayGetValueAtIndex(interfaces, i);
bsdname_CFString = SCNetworkInterfaceGetBSDName(interface);
if (bsdname_CFString == NULL) {
/*