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:
parent
adbf5fc219
commit
4a5dda489f
18 changed files with 39 additions and 30 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue