mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 17:11:17 +02:00
Fixed three compile warnings.
This commit is contained in:
parent
ee9e244b77
commit
b993dd1074
@ -187,8 +187,8 @@ int PCMImportFileHandle::GetFileUncompressedBytes()
|
|||||||
static wxString AskCopyOrEdit()
|
static wxString AskCopyOrEdit()
|
||||||
{
|
{
|
||||||
wxString oldCopyPref = gPrefs->Read(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("copy"));
|
wxString oldCopyPref = gPrefs->Read(wxT("/FileFormats/CopyOrEditUncompressedData"), wxT("copy"));
|
||||||
bool firstTimeAsk = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataFirstAsk"), true);
|
bool firstTimeAsk = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataFirstAsk"), true)?true:false;
|
||||||
bool oldAskPref = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataAsk"), true);
|
bool oldAskPref = gPrefs->Read(wxT("/Warnings/CopyOrEditUncompressedDataAsk"), true)?true:false;
|
||||||
|
|
||||||
// The first time the user is asked we force it to 'copy'.
|
// The first time the user is asked we force it to 'copy'.
|
||||||
// This effectively does a one-time change to the preferences.
|
// This effectively does a one-time change to the preferences.
|
||||||
|
@ -401,7 +401,7 @@ void ExtImportPrefs::DoOnRuleTableSelect (int toprow)
|
|||||||
{
|
{
|
||||||
ExtImportItems *items = wxGetApp().mImporter->GetImportItems();
|
ExtImportItems *items = wxGetApp().mImporter->GetImportItems();
|
||||||
|
|
||||||
if (toprow < 0 || toprow > items->GetCount())
|
if (toprow < 0 || toprow > (int)items->GetCount())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user