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 <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2025-06-16 14:10:42 +03:00
parent 4d6e690fd0
commit c533be60d6

View file

@ -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;