summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCooper Yuan <cooperyuan@gmail.com>2012-06-28 14:16:48 +0200
committerCooper Yuan <cooperyuan@gmail.com>2012-06-28 14:16:48 +0200
commitf59a5f82efa60bdb411229dfb9de22bf237c3a56 (patch)
treed9dfb78b7c7d7725c50bb16bacaaf2c72e8327c1
parente34ab971b3dd15ea9185a86c847d0ee5c3142eb2 (diff)
Fix build warning
-rw-r--r--libdri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdri2.c b/libdri2.c
index 7b29cf5..f4d1415 100644
--- a/libdri2.c
+++ b/libdri2.c
@@ -230,7 +230,7 @@ DRI2Buffer *DRI2GetBuffers(Display *dpy, XID drawable,
DRI2Buffer *buffers;
xDRI2Buffer repBuffer;
CARD32 *p;
- int i;
+ unsigned int i;
XextCheckExtension (dpy, info, dri2ExtensionName, False);