[vlc-commits] Qt: fix signedness issue

Jean-Baptiste Kempf git at videolan.org
Sat May 14 13:06:50 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 14 12:56:31 2011 +0200| [cd750a6e6fc3a38c61dc112385afab91585d0c21] | committer: Jean-Baptiste Kempf

Qt: fix signedness issue

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

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

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index b3096a4..dec064b 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -61,7 +61,7 @@
    Combobox will automatically do autocompletion on the edit zone */
 #define POPULATE_WITH_DEVS(ppsz_devlist, targetCombo) \
     QStringList targetCombo ## StringList = QStringList(); \
-    for ( int i = 0; i< sizeof(ppsz_devlist) / sizeof(*ppsz_devlist); i++ ) \
+    for ( size_t i = 0; i< sizeof(ppsz_devlist) / sizeof(*ppsz_devlist); i++ ) \
         targetCombo ## StringList << QString( ppsz_devlist[ i ] ); \
     targetCombo->addItems( QDir( "/dev/" )\
         .entryList( targetCombo ## StringList, QDir::System )\



More information about the vlc-commits mailing list