2025-04-26 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up compiler warnings in 'importers/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2025-04-26 16:24:14 -04:00
parent 6503d4d266
commit c11f8224c3
2 changed files with 5 additions and 3 deletions

View File

@ -24984,3 +24984,5 @@
'apis/rivwebcapi/rivwebcapi/rd_common.c'. 'apis/rivwebcapi/rivwebcapi/rd_common.c'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com> 2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'cae/'. * Cleaned up compiler warnings in 'cae/'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'importers/'.

View File

@ -2,7 +2,7 @@
// //
// A Library import filter for the Airforce Wings system // A Library import filter for the Airforce Wings system
// //
// (C) Copyright 2002-2023 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2002-2025 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@ -154,8 +154,8 @@ bool MainObject::ImportCut(RDGroup *group,struct WingsRecord *rec,
delete group; delete group;
return false; return false;
} }
destfile=new RDWaveFile(RDCut::pathName(QString().sprintf destfile=
("%06u_001",cartnum))); new RDWaveFile(RDCut::pathName(QString::asprintf("%06u_001",cartnum)));
switch(wavefile->getFormatTag()) { switch(wavefile->getFormatTag()) {
case WAVE_FORMAT_PCM: case WAVE_FORMAT_PCM:
format=0; format=0;