summaryrefslogtreecommitdiff
path: root/source3/include/asn_1.h
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-01-09 15:36:07 +0000
committerGerald Carter <jerry@samba.org>2004-01-09 15:36:07 +0000
commit19e9a7e1b947d7f26b9923a9c89ab088d76e340d (patch)
tree24cb8807636deeb1275f9e3b8f0c3314957b74af /source3/include/asn_1.h
parent5982f2c17b38ba865371d648976cdb1282cf61e7 (diff)
downloadsamba-19e9a7e1b947d7f26b9923a9c89ab088d76e340d.tar.gz
samba-19e9a7e1b947d7f26b9923a9c89ab088d76e340d.tar.bz2
samba-19e9a7e1b947d7f26b9923a9c89ab088d76e340d.zip
fix some warnings from the Sun compiler; also merge some of abartlet's error code changes form 3.0
(This used to be commit 2279e98cb81faaf8a4e971fec339955f14c23858)
Diffstat (limited to 'source3/include/asn_1.h')
-rw-r--r--source3/include/asn_1.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/asn_1.h b/source3/include/asn_1.h
index 7d4da0db0c..796c8bb740 100644
--- a/source3/include/asn_1.h
+++ b/source3/include/asn_1.h
@@ -60,10 +60,10 @@ typedef struct {
#define SPNEGO_NEG_RESULT_REJECT 2
/* 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 (uchar*)"\x01\x00"
+#define TOK_ID_KRB_AP_REP (uchar*)"\x02\x00"
+#define TOK_ID_KRB_ERROR (uchar*)"\x03\x00"
+#define TOK_ID_GSS_GETMIC (uchar*)"\x01\x01"
+#define TOK_ID_GSS_WRAP (uchar*)"\x02\x01"
#endif /* _ASN_1_H */