From d4ccf1590281279c555c912e1bfa5a84fecf18d3 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Fri, 3 Sep 2021 07:52:20 +0200 Subject: [PATCH] Fix warning about int conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit saml2_authn_context.c:77:3: warning: initialization of ‘unsigned int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion] --- lasso/xml/saml-2.0/saml2_authn_context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasso/xml/saml-2.0/saml2_authn_context.c b/lasso/xml/saml-2.0/saml2_authn_context.c index 16307785..e618b1a5 100644 --- a/lasso/xml/saml-2.0/saml2_authn_context.c +++ b/lasso/xml/saml-2.0/saml2_authn_context.c @@ -74,7 +74,7 @@ static struct XmlSnippet schema_snippets[] = { /* Other AuthenticatingAuthority are just ignored, it's a work-around to at least accept correct SAML message. * See https://dev.entrouvert.org/issues/29340 */ { "AuthenticatingAuthority", SNIPPET_LIST_CONTENT | SNIPPET_OPTIONAL, - NULL, NULL, NULL, NULL}, + 0, NULL, NULL, NULL}, {NULL, 0, 0, NULL, NULL, NULL} };