mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
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:
parent
9d214e1c19
commit
5ae31d7f46
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue