mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-02 20:08:29 +00:00
a/math: Fix truncation warning due to double literal in float parameter.
This commit is contained in:
parent
0b7f3d92ef
commit
a10a4ab123
|
@ -242,7 +242,7 @@ math_quat_validate(const struct xrt_quat *quat)
|
|||
extern "C" bool
|
||||
math_quat_validate_within_1_percent(const struct xrt_quat *quat)
|
||||
{
|
||||
return quat_validate(0.01, quat);
|
||||
return quat_validate(0.01f, quat);
|
||||
}
|
||||
|
||||
extern "C" void
|
||||
|
|
Loading…
Reference in a new issue