diff --git a/ChangeLog b/ChangeLog index f3d3c4e1..80e734c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24984,3 +24984,5 @@ 'apis/rivwebcapi/rivwebcapi/rd_common.c'. 2025-04-26 Fred Gleason * Cleaned up compiler warnings in 'cae/'. +2025-04-26 Fred Gleason + * Cleaned up compiler warnings in 'importers/'. diff --git a/importers/wings_filter.cpp b/importers/wings_filter.cpp index 4169d7b0..2c8c1f1b 100644 --- a/importers/wings_filter.cpp +++ b/importers/wings_filter.cpp @@ -2,7 +2,7 @@ // // A Library import filter for the Airforce Wings system // -// (C) Copyright 2002-2023 Fred Gleason +// (C) Copyright 2002-2025 Fred Gleason // // 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 @@ -154,8 +154,8 @@ bool MainObject::ImportCut(RDGroup *group,struct WingsRecord *rec, delete group; return false; } - destfile=new RDWaveFile(RDCut::pathName(QString().sprintf - ("%06u_001",cartnum))); + destfile= + new RDWaveFile(RDCut::pathName(QString::asprintf("%06u_001",cartnum))); switch(wavefile->getFormatTag()) { case WAVE_FORMAT_PCM: format=0;