1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some warnings with -Wconversion enabled

This commit is contained in:
ed 2020-03-16 17:06:45 +00:00
parent adbf5fc219
commit 4a5dda489f
18 changed files with 39 additions and 30 deletions

View file

@ -115,7 +115,7 @@ struct SIMDFallbackOps
auto retval = static_cast<ScalarType> (0);
for (size_t i = 0; i < n; ++i)
retval += a.s[i];
retval = static_cast<ScalarType> (retval + a.s[i]);
return retval;
}