On Wed, Oct 29, 2008 at 03:51:40PM +0100, Jaroslav Kysela wrote: > Maybe better is to just use end char comparsion to save few CPU ticks: > if (kctl.id.name[sizeof(kctl.id.name)-2] != '\0' && > ncontrol->name[sizeof(kctl.id.name)-1] != '\0') > print_warning_here; It will be but given that this only happens when controls are created I'd be surprised if performance were a practical issue. _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel