1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-17 08:17:59 +01:00

Patch provided by Rob (RPM) to resolve many of the wx3 format string assertions

He wanted to help so I asked if he wanted to track them down.  He agreed and
found more than I probably would have.  And he said there were more, but the
rest were questionable and since he works on Windows, wasn't able to actually
test.

I give a few of the ones he did find a go and they do indeed get rid of the
assertions.

(Basically, a 64-bit/32-bit issue, easily resolved with a typecast.)
This commit is contained in:
lllucius@gmail.com
2014-10-19 03:08:10 +00:00
parent 3361b7e61b
commit 1b993ccd08
8 changed files with 16 additions and 15 deletions

View File

@@ -276,8 +276,8 @@ int ExportMP2::Export(AudacityProject *project,
ProgressDialog *progress = new ProgressDialog(wxFileName(fName).GetName(),
selectionOnly ?
wxString::Format(_("Exporting selected audio at %d kbps"), bitrate) :
wxString::Format(_("Exporting entire file at %d kbps"), bitrate));
wxString::Format(_("Exporting selected audio at %d kbps"), (int) bitrate) :
wxString::Format(_("Exporting entire file at %d kbps"), (int) bitrate));
int updateResult = eProgressSuccess;
while(updateResult == eProgressSuccess) {