diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-10-30 10:39:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:31 -0500 |
commit | fb2bceea6e2d44f86f014a2d969591f462ee27bc (patch) | |
tree | c30b06f29b7795f0f06601b1dd36ebd919c1da56 /source4/auth/kerberos | |
parent | d0831d27a5129aad85f981e9e28222c91cb4269a (diff) | |
download | samba-fb2bceea6e2d44f86f014a2d969591f462ee27bc.tar.gz samba-fb2bceea6e2d44f86f014a2d969591f462ee27bc.tar.bz2 samba-fb2bceea6e2d44f86f014a2d969591f462ee27bc.zip |
r11400: fix compiler warnings
metze
(This used to be commit a29a107d95b67248ccd6036084829b080c892e40)
Diffstat (limited to 'source4/auth/kerberos')
-rw-r--r-- | source4/auth/kerberos/kerberos.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h index f52c32f0c4..070293df68 100644 --- a/source4/auth/kerberos/kerberos.h +++ b/source4/auth/kerberos/kerberos.h @@ -35,11 +35,11 @@ struct keytab_container { }; /* not really ASN.1, but RFC 1964 */ -#define TOK_ID_KRB_AP_REQ "\x01\x00" -#define TOK_ID_KRB_AP_REP "\x02\x00" -#define TOK_ID_KRB_ERROR "\x03\x00" -#define TOK_ID_GSS_GETMIC "\x01\x01" -#define TOK_ID_GSS_WRAP "\x02\x01" +#define TOK_ID_KRB_AP_REQ ((const uint8_t *)"\x01\x00") +#define TOK_ID_KRB_AP_REP ((const uint8_t *)"\x02\x00") +#define TOK_ID_KRB_ERROR ((const uint8_t *)"\x03\x00") +#define TOK_ID_GSS_GETMIC ((const uint8_t *)"\x01\x01") +#define TOK_ID_GSS_WRAP ((const uint8_t *)"\x02\x01") #ifdef HAVE_KRB5_KEYBLOCK_KEYVALUE #define KRB5_KEY_TYPE(k) ((k)->keytype) |