diff options
author | Tim Blechmann <tim@klingt.org> | 2024-01-27 12:34:37 +0800 |
---|---|---|
committer | Tim Blechmann <tim@klingt.org> | 2024-02-01 09:35:21 +0800 |
commit | afc99d91af4d27011c777aac101593bf1e1be04c (patch) | |
tree | a94038c6487a60cd2ecf6b6b366a29d370821c44 /src | |
parent | 2477a0b1c9e6fd92d74e0f237caa1b2c9a1cbee0 (diff) |
animation: silence clang warning
fixes clang's: -Warray-parameter warning
Change-Id: I8c1af840b37a0e83252cf64539c384fb5240ba90
Pick-to: 6.7
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/animation/backend/bezierevaluator_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animation/backend/bezierevaluator_p.h b/src/animation/backend/bezierevaluator_p.h index 577915f68..ecb1b61da 100644 --- a/src/animation/backend/bezierevaluator_p.h +++ b/src/animation/backend/bezierevaluator_p.h @@ -39,7 +39,7 @@ public: float valueForTime(float time) const; float parameterForTime(float time) const; - static int findCubicRoots(const float coefficients[], float roots[3]); + static int findCubicRoots(const float coefficients[4], float roots[3]); private: float m_time0; |