svn commit: samba r9953 - in branches/SAMBA_3_0/source/lib: .

gd at samba.org gd at samba.org
Fri Sep 2 13:07:43 GMT 2005


Author: gd
Date: 2005-09-02 13:07:42 +0000 (Fri, 02 Sep 2005)
New Revision: 9953

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9953

Log:
get rid of compiler warning.

Guenther

Modified:
   branches/SAMBA_3_0/source/lib/smbldap.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/smbldap.c
===================================================================
--- branches/SAMBA_3_0/source/lib/smbldap.c	2005-09-02 12:53:46 UTC (rev 9952)
+++ branches/SAMBA_3_0/source/lib/smbldap.c	2005-09-02 13:07:42 UTC (rev 9953)
@@ -1367,7 +1367,7 @@
 	}
 
 	rc = ldap_search_s(ldap_state->ldap_struct, "", LDAP_SCOPE_BASE, 
-			   "(objectclass=*)", attrs, 0 , &msg);
+			   "(objectclass=*)", CONST_DISCARD(char **, attrs), 0 , &msg);
 
 	if (rc != LDAP_SUCCESS) {
 		DEBUG(3,("smbldap_check_root_dse: Could not search rootDSE\n"));



More information about the samba-cvs mailing list