X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/13e245c82a155816885812857c06fff8c88fdb80..ccd5d46c7b69632eaa231e8fc7801dd5af2faaa8:/src/msw/mediactrl_am.cpp diff --git a/src/msw/mediactrl_am.cpp b/src/msw/mediactrl_am.cpp index 5c8ed2cc35..d86f872373 100644 --- a/src/msw/mediactrl_am.cpp +++ b/src/msw/mediactrl_am.cpp @@ -1983,7 +1983,7 @@ double wxAMMediaBackend::GetVolume() bool wxAMMediaBackend::SetVolume(double dVolume) { // inverse the transformation above - long lVolume = wx_static_cast(long, 2000*log10(dVolume + (1 - dVolume)*0.00001)); + long lVolume = static_cast(2000*log10(dVolume + (1 - dVolume)*0.00001)); HRESULT hr = GetAM()->put_Volume(lVolume); if(FAILED(hr))