Solve a sign warning
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Jan 2011 20:39:05 +0000 (21:39 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 22 Jan 2011 20:40:41 +0000 (21:40 +0100)
src/misc/picture.c

index ae3efc9..7316bab 100644 (file)
@@ -156,7 +156,7 @@ int picture_Setup( picture_t *p_picture, vlc_fourcc_t i_chroma,
     */
     int i_modulo_w = 1;
     int i_modulo_h = 1;
-    int i_ratio_h  = 1;
+    unsigned int i_ratio_h  = 1;
     for( unsigned i = 0; i < p_dsc->plane_count; i++ )
     {
         i_modulo_w = LCM( i_modulo_w, 16 * p_dsc->p[i].w.den );