[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    [PATCH] Fix build problem with ALSA
From:       Kathrin Gutenberg <Kathrin.Gutenberg () gmx ! de>
Date:       2002-05-03 14:11:25
[Download RAW message or body]

Hi,

I found a problem building KDE from CVS that seems to persist. I'd like to 
share this patch with you. Please apply. It adds a needed cast.

--- mixer_alsa.cpp      17 Apr 2002 17:44:24 -0000      1.22
+++ mixer_alsa.cpp      3 May 2002 14:00:28 -0000
@@ -179,7 +179,7 @@
            Volume vol( channels, maxVolume);
            readVolumeFromHW( groupNum, vol );
            m_mixDevices.append(
-              new MixDevice( groupNum, vol, canRecord, i18n(gid->name), ct) 
);
+              new MixDevice( groupNum, vol, canRecord, i18n((const char 
*)gid->name), ct) );
         } else
         {
            MixDevice* md = m_mixDevices.at( groupNum );


["fix_alsa_mixer_build.diff" (text/x-diff)]

? fix_alsa_mixer_build
? fix_alsa_mixer_build.diff
Index: mixer_alsa.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/kmix/mixer_alsa.cpp,v
retrieving revision 1.22
diff -u -r1.22 mixer_alsa.cpp
--- mixer_alsa.cpp	17 Apr 2002 17:44:24 -0000	1.22
+++ mixer_alsa.cpp	3 May 2002 14:00:28 -0000
@@ -179,7 +179,7 @@
            Volume vol( channels, maxVolume);
            readVolumeFromHW( groupNum, vol );
            m_mixDevices.append(
-              new MixDevice( groupNum, vol, canRecord, i18n(gid->name), ct) );
+              new MixDevice( groupNum, vol, canRecord, i18n((const char *)gid->name), ct) );
         } else
         {
            MixDevice* md = m_mixDevices.at( groupNum );

_______________________________________________
kde-multimedia mailing list
kde-multimedia@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-multimedia

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic