test: fix litest_test_param_get_double

Overenthusiastic search/replace caused the name argument to be a const
double*.

Fixes: 5ed75e7e9f ("test: make litest_parameters fetching more type-safe")
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1144>
This commit is contained in:
Peter Hutterer 2025-02-18 14:57:32 +10:00
parent 9d214e1c19
commit 5ae31d7f46

View file

@ -111,7 +111,7 @@ litest_test_param_get_char(const struct litest_test_parameters *params, const ch
}
static inline double
litest_test_param_get_double(const struct litest_test_parameters *params, const double *name)
litest_test_param_get_double(const struct litest_test_parameters *params, const char *name)
{
double p;
litest_test_param_fetch(params, name, 'd', &p);