From: Bartosz Golaszewski Date: Wed, 15 Feb 2023 12:46:30 +0000 (+0100) Subject: tests: fix the enum type in line-request tests X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=4ebf629e35d9f87d14a37bbcc3b6f40f7b49e825;p=qemu-gpiodev%2Flibgpiod.git 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 --- 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,