mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-04-24 02:32:18 +00:00
Fixed clang, gcc compile errors with newer versions #885
This commit is contained in:
parent
33b74a7b25
commit
4a374f9091
1 changed files with 2 additions and 1 deletions
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue