[vlc-commits] caca: fix sign-casting for comparison
Jean-Baptiste Kempf
git at videolan.org
Thu Feb 17 23:40:19 CET 2011
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Feb 17 23:39:54 2011 +0100| [ad6c671fcc0606c4b907f13c0200848c5e31b9a6] | committer: Jean-Baptiste Kempf
caca: fix sign-casting for comparison
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad6c671fcc0606c4b907f13c0200848c5e31b9a6
---
modules/video_output/caca.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/video_output/caca.c b/modules/video_output/caca.c
index 7ee8321..08786a9 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -309,8 +309,8 @@ static int Control(vout_display_t *vd, int query, va_list args)
caca_refresh_display(sys->dp);
/* Not quite good but not sure how to resize it */
- if (cfg->display.width != caca_get_display_width(sys->dp) ||
- cfg->display.height != caca_get_display_height(sys->dp))
+ if ((int)cfg->display.width != caca_get_display_width(sys->dp) ||
+ (int)cfg->display.height != caca_get_display_height(sys->dp))
return VLC_EGENERIC;
return VLC_SUCCESS;
}
More information about the vlc-commits
mailing list