--- a/src/alsamixer.cxx
+++ b/src/alsamixer.cxx
@@ -654,7 +654,7 @@
       if (joined) {
 #ifdef ALSAMIXER_GUI
 	for (chn = snd_mixer_selem_channel_id_t(0); chn < SND_MIXER_SCHN_LAST; 
-	snd_mixer_selem_channel_id_t(int(chn)++))
+	snd_mixer_selem_channel_id_t(int(chn)+1))
 #else
 	for (chn = 0; chn < SND_MIXER_SCHN_LAST; chn++)
 #endif