1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

r17334: Some C++ warnings

(This used to be commit 8ae7ed1f3c)
This commit is contained in:
Volker Lendecke
2006-07-31 04:30:55 +00:00
committed by Gerald (Jerry) Carter
parent 02eea79624
commit 1cf1e648fe
12 changed files with 26 additions and 24 deletions

View File

@ -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);