mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-10 04:42:50 +01:00
Added U for unsigned numeric constant
This commit is contained in:
parent
d64e9ae0d3
commit
32b3084ef7
@ -536,8 +536,8 @@ uint WavInFile::getLengthMS() const
|
|||||||
numSamples = getNumSamples();
|
numSamples = getNumSamples();
|
||||||
sampleRate = getSampleRate();
|
sampleRate = getSampleRate();
|
||||||
|
|
||||||
assert(numSamples < UINT_MAX / 1000);
|
assert(numSamples < UINT_MAX / 1000U);
|
||||||
return (1000 * numSamples / sampleRate);
|
return (1000U * numSamples / sampleRate);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user