Commit 6b19dc64 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vout: fix signedness warnings

parent 4aef1ff0
...@@ -86,7 +86,7 @@ VLC_API bool vout_ManageDisplay(vout_display_t *, bool allow_reset_pictures); ...@@ -86,7 +86,7 @@ VLC_API bool vout_ManageDisplay(vout_display_t *, bool allow_reset_pictures);
VLC_API void vout_SetDisplayFullscreen(vout_display_t *, bool is_fullscreen); VLC_API void vout_SetDisplayFullscreen(vout_display_t *, bool is_fullscreen);
VLC_API void vout_SetDisplayFilled(vout_display_t *, bool is_filled); VLC_API void vout_SetDisplayFilled(vout_display_t *, bool is_filled);
VLC_API void vout_SetDisplayZoom(vout_display_t *, int num, int den); VLC_API void vout_SetDisplayZoom(vout_display_t *, unsigned num, unsigned den);
VLC_API void vout_SetWindowState(vout_display_t *, unsigned state); VLC_API void vout_SetWindowState(vout_display_t *, unsigned state);
VLC_API void vout_SetDisplayAspect(vout_display_t *, unsigned dar_num, unsigned dar_den); VLC_API void vout_SetDisplayAspect(vout_display_t *, unsigned dar_num, unsigned dar_den);
VLC_API void vout_SetDisplayCrop(vout_display_t *, unsigned crop_num, unsigned crop_den, unsigned left, unsigned top, int right, int bottom); VLC_API void vout_SetDisplayCrop(vout_display_t *, unsigned crop_num, unsigned crop_den, unsigned left, unsigned top, int right, int bottom);
......
...@@ -301,8 +301,8 @@ struct vout_display_owner_sys_t { ...@@ -301,8 +301,8 @@ struct vout_display_owner_sys_t {
bool ch_zoom; bool ch_zoom;
struct { struct {
int num; unsigned num;
int den; unsigned den;
} zoom; } zoom;
bool ch_wm_state; bool ch_wm_state;
...@@ -1141,7 +1141,7 @@ void vout_SetDisplayFilled(vout_display_t *vd, bool is_filled) ...@@ -1141,7 +1141,7 @@ void vout_SetDisplayFilled(vout_display_t *vd, bool is_filled)
} }
} }
void vout_SetDisplayZoom(vout_display_t *vd, int num, int den) void vout_SetDisplayZoom(vout_display_t *vd, unsigned num, unsigned den)
{ {
vout_display_owner_sys_t *osys = vd->owner.sys; vout_display_owner_sys_t *osys = vd->owner.sys;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment