diff --git a/common/vlc_player.cpp b/common/vlc_player.cpp index 1fce04e2fd82bc2146efd24322a09e3695f4bd61..2136d356cd1858d195bcf2abd314351e9987ad1d 100644 --- a/common/vlc_player.cpp +++ b/common/vlc_player.cpp @@ -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) { } diff --git a/common/win32_fullscreen.cpp b/common/win32_fullscreen.cpp index 2fb9d30baf96c01d3c87aa8afde0c78563836062..45aab28d6e6d65785496b43bcb439c8e366673e5 100644 --- a/common/win32_fullscreen.cpp +++ b/common/win32_fullscreen.cpp @@ -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();