1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-09 16:41:14 +02:00

Fixed three compile warnings.

This commit is contained in:
james.k.crook@gmail.com 2011-04-23 09:58:56 +00:00
parent ee9e244b77
commit b993dd1074
2 changed files with 3 additions and 3 deletions

View File

@ -187,8 +187,8 @@ int PCMImportFileHandle::GetFileUncompressedBytes()
static wxString AskCopyOrEdit()
{
wxString oldCopyPref = gPrefs->Read(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("copy"));
bool firstTimeAsk = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataFirstAsk"), true);
bool oldAskPref = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataAsk"), true);
bool firstTimeAsk = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataFirstAsk"), true)?true:false;
bool oldAskPref = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataAsk"), true)?true:false;
// The first time the user is asked we force it to 'copy'.
// This effectively does a one-time change to the preferences.

View File

@ -401,7 +401,7 @@ void ExtImportPrefs::DoOnRuleTableSelect (int toprow)
{
ExtImportItems *items = wxGetApp().mImporter->GetImportItems();
if (toprow < 0 || toprow > items->GetCount())
if (toprow < 0 || toprow > (int)items->GetCount())
{
return;
}