cc-1515 cc: WARNING File = utils/ntlm_auth.c, Line = 756 A value of type "const char **" cannot be assigned to an entity of type "char **". spnego.negTokenInit.mechTypes = SMB_XMALLOC_ARRAY(const char *, 3); ^ cc-1515 cc: WARNING File = utils/ntlm_auth.c, Line = 1055 A value of type "const char **" cannot be assigned to an entity of type "char **". spnego.negTokenInit.mechTypes = my_mechs; ^ cc-1140 cc: WARNING File = utils/ntlm_auth.c, Line = 1308 A value of type "char **" cannot be used to initialize an entity of type "const char **". const char **mechType = spnego.negTokenInit.mechTypes; ^
Created attachment 1377 [details] Type changes in ntlm_auth.c
This just changes the warnings, it doesn't fix the problem. Indeed, it is not possible to easily fix the problem, and there isn't a real problem anyway. Application of the discard_const_p() macro (used a lot on Samba4) would shut the compiler up.
Warning is gone from 3.0.23rc3