Description: Fix FTBFS against GCC-11 Obviously this is a bug. The GTK documentation for g_list_find says it returns the found GList element or NULL if not found. Index: nted/voice.cpp =================================================================== --- nted.orig/voice.cpp +++ nted/voice.cpp @@ -1363,7 +1363,7 @@ bool NedVoice::tryConvertToTuplet(int me return FALSE; } ref_duration = (method == 1) ? templ->getDuration() / 2 : templ->getDuration(); - if ((min_pos_ptr = g_list_find(m_chord_or_rests, templ)) < 0) { + if ((min_pos_ptr = g_list_find(m_chord_or_rests, templ)) == NULL) { NedResource::Abort("NedVoice::tryConvertToTuplet(1)"); } if ((minpos = g_list_index(m_chord_or_rests, templ)) < 0) {