summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xvmc/subpicture.c
diff options
context:
space:
mode:
authorJan Vesely <[email protected]>2014-12-02 15:14:16 -0500
committerChristian König <[email protected]>2014-12-03 17:07:08 +0100
commita2f2eebfdfb9c19e45792101fc5cad3dd3f0f4d6 (patch)
tree4f8f938604092ff8708420071af4efbc9b41f89f /src/gallium/state_trackers/xvmc/subpicture.c
parent712a4c5438d0ce257344b5196c20ad7929b54a0e (diff)
st/xvmc: Fix compiler warnings
Mostly signed/unsigned comparison Signed-off-by: Jan Vesely <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xvmc/subpicture.c')
-rw-r--r--src/gallium/state_trackers/xvmc/subpicture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xvmc/subpicture.c b/src/gallium/state_trackers/xvmc/subpicture.c
index 7a951fa7d77..6f42216262f 100644
--- a/src/gallium/state_trackers/xvmc/subpicture.c
+++ b/src/gallium/state_trackers/xvmc/subpicture.c
@@ -112,7 +112,7 @@ static Status Validate(Display *dpy, XvPortID port, int surface_type_id, int xvi
{
XvImageFormatValues *subpictures;
int num_subpics;
- unsigned int i;
+ int i;
subpictures = XvMCListSubpictureTypes(dpy, port, surface_type_id, &num_subpics);
if (num_subpics < 1) {