diff --git a/gtk2_ardour/midi_view.cc b/gtk2_ardour/midi_view.cc index b4f6c690bf..623119574d 100644 --- a/gtk2_ardour/midi_view.cc +++ b/gtk2_ardour/midi_view.cc @@ -1700,8 +1700,8 @@ MidiView::note_in_region_range (const std::shared_ptr note, bool& visi void MidiView::update_note (NoteBase* note) { - Note* sus = NULL; - Hit* hit = NULL; + Note* sus = nullptr; + Hit* hit = nullptr; if ((sus = dynamic_cast(note))) { update_sustained (sus); } else if ((hit = dynamic_cast(note))) {