diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 20:21:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-11-26 20:21:12 +0000 |
commit | 239b3ab10b460da34c490a7e06a21c984e21ffb6 (patch) | |
tree | 4ce09f5d091ffbcf063a9d0fc076659dfe9e3142 /lib/maths.cpp | |
parent | Don't run the app by default (diff) | |
download | ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.tar.bz2 ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.tar.xz ilt-239b3ab10b460da34c490a7e06a21c984e21ffb6.zip |
Enable all Jason Turner recommended warnings
Diffstat (limited to 'lib/maths.cpp')
-rw-r--r-- | lib/maths.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/maths.cpp b/lib/maths.cpp index e894d02..4d9f8d4 100644 --- a/lib/maths.cpp +++ b/lib/maths.cpp @@ -173,10 +173,10 @@ find_arcs_radius(glm::vec2 start, glm::vec2 ad, glm::vec2 end, glm::vec2 bd) float operator"" _mph(const long double v) { - return mph_to_ms(v); + return static_cast<float>(mph_to_ms(v)); } float operator"" _kph(const long double v) { - return kph_to_ms(v); + return static_cast<float>(kph_to_ms(v)); } |