diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-11-09 09:08:51 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-11-13 22:14:14 +1100 |
commit | 1ecc76b2480c884a66e598ff6b1f9000bb0931c0 (patch) | |
tree | aff91ff4b0e5a9144e9572e26c59652f167d4ef1 /lib | |
parent | eecc1d294256210ee8c2f6ab79d21b835258a6d4 (diff) | |
download | samba-1ecc76b2480c884a66e598ff6b1f9000bb0931c0.tar.gz samba-1ecc76b2480c884a66e598ff6b1f9000bb0931c0.tar.bz2 samba-1ecc76b2480c884a66e598ff6b1f9000bb0931c0.zip |
lib/addns: remove compiler warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/addns/dnsgss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/addns/dnsgss.c b/lib/addns/dnsgss.c index 52f1298e01..f7ed1d17d5 100644 --- a/lib/addns/dnsgss.c +++ b/lib/addns/dnsgss.c @@ -92,7 +92,7 @@ static DNS_ERROR dns_negotiate_gss_ctx_int( TALLOC_CTX *mem_ctx, DNS_ERROR err; gss_OID_desc krb5_oid_desc = - { 9, (const char *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02" }; + { 9, discard_const("\x2a\x86\x48\x86\xf7\x12\x01\x02\x02") }; *ctx = GSS_C_NO_CONTEXT; input_ptr = NULL; @@ -230,7 +230,7 @@ DNS_ERROR dns_negotiate_sec_ctx( const char *target_realm, gss_name_t targ_name; gss_OID_desc nt_host_oid_desc = - {10, (const char *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02\x01"}; + {10, discard_const("\x2a\x86\x48\x86\xf7\x12\x01\x02\x02\x01")}; TALLOC_CTX *mem_ctx; |