gcc: remove old style cast

Signed-off-by: Rosen Penev <[email protected]>
This commit is contained in:
Rosen Penev
2023-12-22 13:41:34 +01:00
committed by Urs Fleisch
parent 78c489d9cc
commit eaf7955c63
+3 -3
View File
@@ -888,9 +888,9 @@ void DSDIFF::File::read(bool readProperties, Properties::ReadStyle propertiesSty
if(lengthDSDSamplesTimeChannels == 0) {
// DST compressed signal : need to compute length of DSD uncompressed frames
if(dstFrameRate > 0)
lengthDSDSamplesTimeChannels = (unsigned long long) dstNumFrames *
(unsigned long long) sampleRate /
(unsigned long long) dstFrameRate;
lengthDSDSamplesTimeChannels = static_cast<unsigned long long>(dstNumFrames) *
static_cast<unsigned long long>(sampleRate) /
static_cast<unsigned long long>(dstFrameRate);
else
lengthDSDSamplesTimeChannels = 0;
}