[haiku-commits] r38137 - haiku/trunk/src/bin/desklink

  • From: pulkomandy@xxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 16 Aug 2010 12:19:02 +0200 (CEST)

Author: pulkomandy
Date: 2010-08-16 12:19:02 +0200 (Mon, 16 Aug 2010)
New Revision: 38137
Changeset: http://dev.haiku-os.org/changeset/38137

Modified:
   haiku/trunk/src/bin/desklink/MixerControl.cpp
Log:
CID 1515 : Wrong pointer type.


Modified: haiku/trunk/src/bin/desklink/MixerControl.cpp
===================================================================
--- haiku/trunk/src/bin/desklink/MixerControl.cpp       2010-08-16 10:10:58 UTC 
(rev 38136)
+++ haiku/trunk/src/bin/desklink/MixerControl.cpp       2010-08-16 10:19:02 UTC 
(rev 38137)
@@ -135,7 +135,7 @@
                                        errorString = volumeWhich ? "Soundcard 
control unknown"
                                                : "Mixer control unknown";
                                } else {
-                                       fMixerParameter = 
dynamic_cast<BContinuousParameter*>(p);
+                                       fMixerParameter = 
static_cast<BContinuousParameter*>(p);
                                        fMin = fMixerParameter->MinValue();
                                        fMax = fMixerParameter->MaxValue();
                                        fStep = fMixerParameter->ValueStep();


Other related posts:

  • » [haiku-commits] r38137 - haiku/trunk/src/bin/desklink - pulkomandy