r8989: Fix a warning
authorVolker Lendecke <vlendec@samba.org>
Wed, 3 Aug 2005 05:46:06 +0000 (05:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:00:23 +0000 (11:00 -0500)
(This used to be commit 3d491ebf9ca8edae938aee08abb924905fd83deb)

source3/libads/sasl.c

index 0164b0c7401c54e0e555f4f8073169577136dacb..8fa62a5ade4e07d6ce0e18f36f4d9632df7c65e7 100644 (file)
@@ -285,7 +285,7 @@ static ADS_STATUS ads_sasl_gssapi_bind(ADS_STRUCT *ads)
                        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 */