From c533be60d6ee1627d141398f3e40a45f3c2fe765 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Mon, 16 Jun 2025 14:10:42 +0300 Subject: [PATCH] color: fix count_parameters type It's a count, so it's not a bool. Luckily the only counts ever assigned to it so far were 0 and 1. Signed-off-by: Pekka Paalanen --- libweston/color-properties.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/color-properties.h b/libweston/color-properties.h index e5f4b9c70..9246446a5 100644 --- a/libweston/color-properties.h +++ b/libweston/color-properties.h @@ -113,7 +113,7 @@ struct weston_color_tf_info { /* The protocol also has support for parameterized functions, i.e. * certain known functions that clients can define passing arbitrary * parameters. */ - bool count_parameters; + unsigned count_parameters; /** Are curve and inverse_curve valid? */ bool curve_params_valid;