Package: alsamixergui
Tags: patch
Followup-For: Bug #276737

The following patch lets alsamixergui compile under gcc-3.4.


--- src/alsamixer.cxx.orig      2005-07-08 02:34:59.000000000 -0700
+++ src/alsamixer.cxx   2005-07-08 02:45:36.000000000 -0700
@@ -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)++))
+             chn = snd_mixer_selem_channel_id_t(1+int(chn)))
 #else
        for (chn = 0; chn < SND_MIXER_SCHN_LAST; chn++)
 #endif




-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-perfctr-2.6.13-bmc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to