[vlc-commits] Solve a sign warning
Jean-Baptiste Kempf
git at videolan.org
Sat Jan 22 21:55:45 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 22 21:39:05 2011 +0100| [39af625e5962478a97e0a4d8554234f062dc34d2] | committer: Jean-Baptiste Kempf
Solve a sign warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=39af625e5962478a97e0a4d8554234f062dc34d2
---
src/misc/picture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/picture.c b/src/misc/picture.c
index ae3efc9..7316bab 100644
--- a/src/misc/picture.c
+++ b/src/misc/picture.c
@@ -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 );
More information about the vlc-commits
mailing list