Commit 14f182e7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

ActiveX: fix Warnings

parent 1a9d1cf7
......@@ -22,7 +22,7 @@
#include "vlc_player.h"
vlc_player::vlc_player()
:_libvlc_instance(0), _ml(0), _mp(0), _ml_p(0)
:_libvlc_instance(0), _mp(0), _ml(0), _ml_p(0)
{
}
......
......@@ -511,7 +511,7 @@ void VLCControlsWnd::SyncVolumeSliderWithVLCVolume()
vlc_player& vp = *VP();
unsigned int vol = vp.get_volume();
const LRESULT SliderPos = SendMessage(hVolumeSlider, (UINT) TBM_GETPOS, 0, 0);
if(SliderPos!=vol)
if((UINT)SliderPos!=vol)
SendMessage(hVolumeSlider, (UINT) TBM_SETPOS, (WPARAM) TRUE, (LPARAM) vol);
bool muted = vp.is_muted();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment