svn commit: samba r8989 - branches/SAMBA_3_0/source/libads trunk/source/libads

vlendec at samba.org vlendec at samba.org
Wed Aug 3 05:46:07 GMT 2005


Author: vlendec
Date: 2005-08-03 05:46:06 +0000 (Wed, 03 Aug 2005)
New Revision: 8989

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

Log:
Fix a warning
Modified:
   branches/SAMBA_3_0/source/libads/sasl.c
   trunk/source/libads/sasl.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/sasl.c
===================================================================
--- branches/SAMBA_3_0/source/libads/sasl.c	2005-08-03 05:40:45 UTC (rev 8988)
+++ branches/SAMBA_3_0/source/libads/sasl.c	2005-08-03 05:46:06 UTC (rev 8989)
@@ -285,7 +285,7 @@
 			ENCTYPE_DES_CBC_MD5,
 			ENCTYPE_NULL};
 	gss_OID_desc nt_principal = 
-	{10, "\052\206\110\206\367\022\001\002\002\002"};
+	{10, CONST_DISCARD(char *, "\052\206\110\206\367\022\001\002\002\002")};
 
 	/* we need to fetch a service ticket as the ldap user in the
 	   servers realm, regardless of our realm */

Modified: trunk/source/libads/sasl.c
===================================================================
--- trunk/source/libads/sasl.c	2005-08-03 05:40:45 UTC (rev 8988)
+++ trunk/source/libads/sasl.c	2005-08-03 05:46:06 UTC (rev 8989)
@@ -285,7 +285,7 @@
 			ENCTYPE_DES_CBC_MD5,
 			ENCTYPE_NULL};
 	gss_OID_desc nt_principal = 
-	{10, "\052\206\110\206\367\022\001\002\002\002"};
+	{10, CONST_DISCARD(char *, "\052\206\110\206\367\022\001\002\002\002")};
 
 	/* we need to fetch a service ticket as the ldap user in the
 	   servers realm, regardless of our realm */



More information about the samba-cvs mailing list