forked from Archive/PX4-Autopilot
Param unit test: Fix CLANG compile warning
This commit is contained in:
parent
395ef5562c
commit
7b05165249
|
@ -52,8 +52,8 @@ void _assert_parameter_int_value(param_t param, int32_t expected)
|
|||
{
|
||||
int32_t value;
|
||||
int result = param_get(param, &value);
|
||||
ASSERT_EQ(0, result) << printf("param_get (%i) did not return parameter\n", param);
|
||||
ASSERT_EQ(expected, value) << printf("value for param (%i) doesn't match default value\n", param);
|
||||
ASSERT_EQ(0, result) << printf("param_get (%lu) did not return parameter\n", param);
|
||||
ASSERT_EQ(expected, value) << printf("value for param (%lu) doesn't match default value\n", param);
|
||||
}
|
||||
|
||||
void _set_all_int_parameters_to(int32_t value)
|
||||
|
|
Loading…
Reference in New Issue