[vlc-devel] commit: Display size cannot be negative ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Aug 16 14:48:18 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Aug 16 12:28:33 2009 +0300| [a64db92ba955f71439415f442032178d271d8c20] | committer: Rémi Denis-Courmont 

Display size cannot be negative

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

 include/vlc_vout_display.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_vout_display.h b/include/vlc_vout_display.h
index aa739aa..090385d 100644
--- a/include/vlc_vout_display.h
+++ b/include/vlc_vout_display.h
@@ -387,8 +387,8 @@ VLC_EXPORT( void, vout_display_GetDefaultDisplaySize, (int *width, int *height,
 typedef struct {
     int x;
     int y;
-    int width;
-    int height;
+    unsigned width;
+    unsigned height;
 } vout_display_place_t;
 
 /**




More information about the vlc-devel mailing list