mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
gcc: remove old style cast
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
78c489d9cc
commit
eaf7955c63
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user