diff options
author | Volker Lendecke <vlendec@samba.org> | 2006-07-31 04:30:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:26 -0500 |
commit | 8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b (patch) | |
tree | 829bca0b464910a1ddfcaaf6cddeff2bed091e1d /source/lib/interface.c | |
parent | be9aaffdaccae06c8c035eaf31862e34b7cfbe38 (diff) | |
download | samba-8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b.tar.gz samba-8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b.tar.xz samba-8ae7ed1f3cecbb5285313d17b5f9511e2e622f0b.zip |
r17334: Some C++ warnings
Diffstat (limited to 'source/lib/interface.c')
-rw-r--r-- | source/lib/interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/interface.c b/source/lib/interface.c index dea01c60111..9d0b966390f 100644 --- a/source/lib/interface.c +++ b/source/lib/interface.c @@ -187,7 +187,7 @@ void load_interfaces(void) total_probed = get_interfaces(ifaces, MAX_INTERFACES); if (total_probed > 0) { - probed_ifaces = memdup(ifaces, sizeof(ifaces[0])*total_probed); + probed_ifaces = (struct iface_struct *)memdup(ifaces, sizeof(ifaces[0])*total_probed); if (!probed_ifaces) { DEBUG(0,("ERROR: memdup failed\n")); exit(1); |