From f99eb93ab41efd0158684f88a29118eebc6fbdb7 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 16 Nov 2022 13:08:37 +0100 Subject: [PATCH 2/6] Fix use of wrong enumeration NULL value (#71313) It produced a cast warning. --- lasso/xml/private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lasso/xml/private.h b/lasso/xml/private.h index a60d064c..65746887 100644 --- a/lasso/xml/private.h +++ b/lasso/xml/private.h @@ -120,7 +120,7 @@ typedef struct _LassoSignatureContext { xmlSecKey *signature_key; } LassoSignatureContext; -#define LASSO_SIGNATURE_CONTEXT_NONE ((LassoSignatureContext){LASSO_SIGNATURE_TYPE_NONE, NULL}) +#define LASSO_SIGNATURE_CONTEXT_NONE ((LassoSignatureContext){LASSO_SIGNATURE_METHOD_NONE, NULL}) #define lasso_assign_signature_context(to, from) \ do { \ -- 2.37.2