summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i965simple/brw_winsys.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/i965simple/brw_winsys.h')
-rw-r--r--src/mesa/pipe/i965simple/brw_winsys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/i965simple/brw_winsys.h b/src/mesa/pipe/i965simple/brw_winsys.h
index 49a12a1c27..253599896c 100644
--- a/src/mesa/pipe/i965simple/brw_winsys.h
+++ b/src/mesa/pipe/i965simple/brw_winsys.h
@@ -190,7 +190,7 @@ static inline boolean brw_batchbuffer_data(struct brw_winsys *winsys,
unsigned bytes)
{
static const unsigned incr = sizeof(unsigned);
- int i;
+ uint i;
const unsigned *udata = (const unsigned*)(data);
unsigned size = bytes/incr;
for (i = 0; i < size; ++i) {