1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-25 23:44:13 +02:00

Get rid of some compiler warnings.

This commit is contained in:
v.audacity
2013-10-31 22:28:21 +00:00
parent 95215dd0e1
commit 8408eaf52a
6 changed files with 8 additions and 11 deletions

View File

@@ -301,7 +301,7 @@ bool ChoiceEditor::EndEdit(int row, int col,
int sel = Choice()->GetSelection();
// This can happen if the wxChoice control is displayed and the list of choices get changed
if (sel < 0 || sel >= mChoices.GetCount())
if ((sel < 0) || (sel >= (int)(mChoices.GetCount())))
{
return false;
}

View File

@@ -123,7 +123,6 @@ void wxNumValidatorBase::OnChar(wxKeyEvent& event)
return;
#if wxUSE_UNICODE
wxKeyEvent & e = event;
const int ch = event.GetUnicodeKey();
const int c = event.GetKeyCode();
if ( c > WXK_START )