1
0
mirror of https://github.com/RPCS3/soundtouch.git synced 2024-11-09 20:33:03 +01:00

Added U for unsigned numeric constant

This commit is contained in:
oparviai 2011-12-31 09:54:02 +00:00
parent d64e9ae0d3
commit 32b3084ef7

View File

@ -536,8 +536,8 @@ uint WavInFile::getLengthMS() const
numSamples = getNumSamples();
sampleRate = getSampleRate();
assert(numSamples < UINT_MAX / 1000);
return (1000 * numSamples / sampleRate);
assert(numSamples < UINT_MAX / 1000U);
return (1000U * numSamples / sampleRate);
}