[vlc-devel] commit: caca: Fix a warning about unsigned. (Pierre d'Herbemont )

git version control git at videolan.org
Thu Aug 20 23:22:36 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Thu Aug 20 23:20:13 2009 +0200| [abfdb004517b5828a9d40d2d32af59d03e717920] | committer: Pierre d'Herbemont 

caca: Fix a warning about unsigned.

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

 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 d8e1a54..abded93 100644
--- a/modules/video_output/caca.c
+++ b/modules/video_output/caca.c
@@ -336,8 +336,8 @@ static void Refresh(vout_display_t *vd)
     caca_refresh_display(sys->dp);
 
     /* */
-    const int width  = caca_get_display_width(sys->dp);
-    const int height = caca_get_display_height(sys->dp);
+    const unsigned width  = caca_get_display_width(sys->dp);
+    const unsigned height = caca_get_display_height(sys->dp);
 
     if (width  != vd->cfg->display.width ||
         height != vd->cfg->display.height)




More information about the vlc-devel mailing list