]> git.sesse.net Git - vlc/commitdiff
size_t is unsigned and it's a bad idea to compare it to 0. Fixes #308.
authorChristophe Mutricy <xtophe@videolan.org>
Wed, 10 Aug 2005 15:30:47 +0000 (15:30 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Wed, 10 Aug 2005 15:30:47 +0000 (15:30 +0000)
Some one with VC7 should test this commit

src/libvlc.c

index 4f4216aac1f41763e3674b0563a5b9477952dfcc..bd653624da472be7276cfa37b84e1611f1848876 100644 (file)
@@ -2095,7 +2095,7 @@ static void Usage( vlc_t *p_this, char const *psz_module_name )
             char *psz_text, *psz_spaces = psz_spaces_text;
             char *psz_bra = NULL, *psz_type = NULL, *psz_ket = NULL;
             char *psz_suf = "", *psz_prefix = NULL;
-            size_t i;
+            signed int i;
 
             /* Skip deprecated options */
             if( p_item->psz_current )