From 8627cb38c143762dc6106b03a9297c03ec6e7875 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 16 Aug 2010 10:19:02 +0000 Subject: [PATCH] CID 1515 : Wrong pointer type. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38137 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/desklink/MixerControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/desklink/MixerControl.cpp b/src/bin/desklink/MixerControl.cpp index 6a69f1e8fd..4adb8403aa 100644 --- a/src/bin/desklink/MixerControl.cpp +++ b/src/bin/desklink/MixerControl.cpp @@ -135,7 +135,7 @@ retry: errorString = volumeWhich ? "Soundcard control unknown" : "Mixer control unknown"; } else { - fMixerParameter = dynamic_cast(p); + fMixerParameter = static_cast(p); fMin = fMixerParameter->MinValue(); fMax = fMixerParameter->MaxValue(); fStep = fMixerParameter->ValueStep();