[vlc-commits] ActiveX: fix Warnings

Jean-Baptiste Kempf git at videolan.org
Mon Jan 14 15:04:54 CET 2013


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 16:03:25 2013 +0100| [14f182e73a4877e0f6c9dda805072a5ef24257bc] | committer: Jean-Baptiste Kempf

ActiveX: fix Warnings

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=14f182e73a4877e0f6c9dda805072a5ef24257bc
---

 common/vlc_player.cpp       |    2 +-
 common/win32_fullscreen.cpp |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/vlc_player.cpp b/common/vlc_player.cpp
index 1fce04e..2136d35 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 2fb9d30..45aab28 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();



More information about the vlc-commits mailing list