[vlc-commits] Qt4: fix enum switch warning

Rémi Denis-Courmont git at videolan.org
Mon Aug 8 17:33:22 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug  8 11:56:16 2011 +0300| [bc9282fc3b98bedbafeac4c058a4b35b4ef07261] | committer: Rémi Denis-Courmont

Qt4: fix enum switch warning

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

 modules/gui/qt4/components/controller.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index 3401d15..78d7b18 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -887,7 +887,7 @@ void FullscreenControllerWidget::customEvent( QEvent *event )
 {
     bool b_fs;
 
-    switch( event->type() )
+    switch( (int)event->type() )
     {
         /* This is used when the 'i' hotkey is used, to force quick toggle */
         case FullscreenControlToggle_Type:



More information about the vlc-commits mailing list