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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user