Display size cannot be negative
authorRémi Denis-Courmont <remi@remlab.net>
Sun, 16 Aug 2009 09:28:33 +0000 (12:28 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 16 Aug 2009 12:48:09 +0000 (15:48 +0300)
include/vlc_vout_display.h

index aa739aa..090385d 100644 (file)
@@ -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;
 
 /**