From 4ebf629e35d9f87d14a37bbcc3b6f40f7b49e825 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Wed, 15 Feb 2023 13:46:30 +0100 Subject: [PATCH] tests: fix the enum type in line-request tests Use the correct enumeration type for GPIO simulator line values. Fixes: 67ffa262e393 ("tests: add line value enums for gpiosim GLib wrapper") Signed-off-by: Bartosz Golaszewski --- tests/tests-line-request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests-line-request.c b/tests/tests-line-request.c index 8940211..d1f60fb 100644 --- a/tests/tests-line-request.c +++ b/tests/tests-line-request.c @@ -243,7 +243,7 @@ GPIOD_TEST_CASE(set_all_values) GPIOD_LINE_VALUE_ACTIVE, GPIOD_LINE_VALUE_ACTIVE }; - static const enum gpiod_line_value sim_values[] = { + static const GPIOSimValue sim_values[] = { G_GPIOSIM_VALUE_ACTIVE, G_GPIOSIM_VALUE_INACTIVE, G_GPIOSIM_VALUE_ACTIVE, -- 2.30.2