diff options
Diffstat (limited to 'utils/sofa-info.cpp')
-rw-r--r-- | utils/sofa-info.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sofa-info.cpp b/utils/sofa-info.cpp index 83e3d065..e9f2257c 100644 --- a/utils/sofa-info.cpp +++ b/utils/sofa-info.cpp @@ -242,7 +242,7 @@ static void PrintCompatibleLayout(const uint m, const float *xyzs) float ev{90.0f + elems[ei]}; float eif{std::round(ev / step)}; - if(std::fabs(eif - (uint)eif) < (0.1f / step)) + if(std::fabs(eif - static_cast<uint>(eif)) < (0.1f / step)) { evStart = static_cast<uint>(eif); break; |