[vlc-commits] commit: Qt4: Fix a warning. ( Hugo Beauzée-Luyssen )

git at videolan.org git at videolan.org
Sun Jul 18 20:03:11 CEST 2010


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Sun Jul 18 19:18:31 2010 +0200| [244fb9d5faef0f51a26af949dae2c6e44ad324cd] | committer: Jean-Baptiste Kempf 

Qt4: Fix a warning.

WId is almost always an integer (except for Symbian)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index c130c69..e6ea283 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -103,7 +103,7 @@ WId VideoWidget::request( int *pi_x, int *pi_y,
     if( stable )
     {
         msg_Dbg( p_intf, "embedded video already in use" );
-        return NULL;
+        return 0;
     }
     if( b_keep_size )
     {



More information about the vlc-commits mailing list