summaryrefslogtreecommitdiff
path: root/src/x11
diff options
context:
space:
mode:
authorBenjamin Segovia <benjamin.segovia@intel.com>2012-11-08 19:06:35 -0800
committerBenjamin Segovia <benjamin.segovia@intel.com>2012-11-08 19:06:35 -0800
commitea6c8aee531bc2e22f9b1ecbf29d703ee1dccb6a (patch)
treed1b9274bb3d019e6d4c74502fef4568a49642302 /src/x11
parent1cf2f4c05a4f3f304c92d95bab51f63251149164 (diff)
Added support for llvm 3.1
Cleaned up some warnings Forced pedantic option removal in the Makefile
Diffstat (limited to 'src/x11')
-rw-r--r--src/x11/va_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/x11/va_dri2.c b/src/x11/va_dri2.c
index 187931c6..5225acd7 100644
--- a/src/x11/va_dri2.c
+++ b/src/x11/va_dri2.c
@@ -287,7 +287,7 @@ LOCAL VA_DRI2Buffer *VA_DRI2GetBuffers(Display *dpy, XID drawable,
return NULL;
}
- for (i = 0; i < rep.count; i++) {
+ for (i = 0; i < (int) rep.count; i++) {
_XReadPad(dpy, (char *) &repBuffer, sizeof repBuffer);
buffers[i].attachment = repBuffer.attachment;
buffers[i].name = repBuffer.name;