Author: jerry Date: 2006-09-21 19:01:37 +0000 (Thu, 21 Sep 2006) New Revision: 18795
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18795 Log: fix a compile warning in the 'net ads search' code Modified: branches/SAMBA_3_0_23/source/utils/net_ads.c Changeset: Modified: branches/SAMBA_3_0_23/source/utils/net_ads.c =================================================================== --- branches/SAMBA_3_0_23/source/utils/net_ads.c 2006-09-21 18:54:25 UTC (rev 18794) +++ branches/SAMBA_3_0_23/source/utils/net_ads.c 2006-09-21 19:01:37 UTC (rev 18795) @@ -1061,7 +1061,7 @@ asprintf(&dn, "%s,%s", ou_str, ads->config.bind_path); free(ou_str); - rc = ads_search_dn(ads, &res, dn, NULL); + rc = ads_search_dn(ads, (void**)&res, dn, NULL); ads_msgfree(ads, res); if (ADS_ERR_OK(rc)) {