CID 1515 : Wrong pointer type.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38137 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2010-08-16 10:19:02 +00:00
parent 30160db489
commit 8627cb38c1

View File

@ -135,7 +135,7 @@ retry:
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();