From 415583a5009a13d677adcb22c26e27e1d04931eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Lafuente?= Date: Thu, 11 Jan 2024 22:42:44 +0100 Subject: [PATCH] C API: use bool argument consistently --- src/libexpr/c/nix_api_external.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexpr/c/nix_api_external.h b/src/libexpr/c/nix_api_external.h index daa74c5a8..c935bbe56 100644 --- a/src/libexpr/c/nix_api_external.h +++ b/src/libexpr/c/nix_api_external.h @@ -136,7 +136,7 @@ typedef struct NixCExternalValueDesc * or setting it to the empty string, will make the conversion throw an error. */ void (*printValueAsJSON)( - void * self, EvalState *, int strict, nix_string_context * c, bool copyToStore, nix_string_return * res); + void * self, EvalState *, bool strict, nix_string_context * c, bool copyToStore, nix_string_return * res); /** * @brief Convert the external value to XML *