From de0bd8547e563c1256af48c76d8b5564ea9ec701 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 19 Oct 2021 09:37:41 +0200 Subject: 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 --- lib/curl_gssapi.c | 4 ++-- 1 file 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( -- cgit v1.2.1