Fixed clang, gcc compile errors with newer versions #885

This commit is contained in:
Robert Beckebans 2024-05-10 09:52:32 +02:00
parent 33b74a7b25
commit 4a374f9091

View file

@ -430,7 +430,8 @@ bool idWaveFile::WriteWaveFormatDirect( waveFmt_t& format, idFile* file, bool wa
// RB: this is also called by .idwav saving code and it was missing
if( wavFile )
{
file->WriteBig( format.id );
static const uint32 id = 'fmt ';
file->WriteBig( id );
if( format.basic.formatTag != FORMAT_PCM )
{