summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-10-19 09:37:41 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-10-19 10:34:20 +0200
commitde0bd8547e563c1256af48c76d8b5564ea9ec701 (patch)
treeca152979036dda12ffeb8b00530c177554b5a3b1
parent20e980f85b0ea67b0821a807e73d57b281462564 (diff)
downloadcurl-de0bd8547e563c1256af48c76d8b5564ea9ec701.tar.gz
curl_gssapi: fix build warnings by removing const
Follow-up to 20e980f85b0ea6 In #7875 these inits were modified but I get two warnings that these new typecasts are necessary for. Closes #7876
-rw-r--r--lib/curl_gssapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/curl_gssapi.c b/lib/curl_gssapi.c
index 06083108a..8f340562b 100644
--- a/lib/curl_gssapi.c
+++ b/lib/curl_gssapi.c
@@ -33,10 +33,10 @@
#include "memdebug.h"
gss_OID_desc Curl_spnego_mech_oid = {
- 6, "\x2b\x06\x01\x05\x05\x02"
+ 6, (char *)"\x2b\x06\x01\x05\x05\x02"
};
gss_OID_desc Curl_krb5_mech_oid = {
- 9, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"
+ 9, (char *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"
};
OM_uint32 Curl_gss_init_sec_context(