From 0c4d3014a48011f0efe926bf0d1ca0d3c424007b Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 16 Nov 2022 13:08:37 +0100 Subject: [PATCH] Fix use of wrong enumeration NULL value (#71400) 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 4aa590a4..84810d8d 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 { \