1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

And now Clang's noticed questionable type conversions

This commit is contained in:
AnyOldName3 2024-03-15 00:47:01 +00:00
parent 9638fbabb4
commit dd18e17c97

View File

@ -18,8 +18,8 @@ namespace MWSound
std::size_t numSamples = bytesToFrames(mQueue.size(), mChannelConfig, mSampleType);
std::size_t advance = framesToBytes(1, mChannelConfig, mSampleType);
int segment = 0;
int sample = 0;
std::size_t segment = 0;
std::size_t sample = 0;
while (segment < numSamples / samplesPerSegment)
{
float sum = 0;