summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-11 16:32:20 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-11 16:32:20 -0700
commit1c22b5955953973c2c7988bef998f336493e11bc (patch)
treee55c5aa82750b4a51642bb89d88111b969422790
parent50eb29ed9492a34db4ba53f1f28a2868b808955a (diff)
s/int/uint/ to silence warnings
-rw-r--r--src/mesa/pipe/i965simple/brw_tex_layout.c2
-rw-r--r--src/mesa/pipe/i965simple/brw_winsys.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/i965simple/brw_tex_layout.c b/src/mesa/pipe/i965simple/brw_tex_layout.c
index 7d6e2851b1..2b2bf16f1b 100644
--- a/src/mesa/pipe/i965simple/brw_tex_layout.c
+++ b/src/mesa/pipe/i965simple/brw_tex_layout.c
@@ -237,7 +237,7 @@ static boolean brw_miptree_layout(struct pipe_context *pipe, struct brw_texture
unsigned nr_images = pt->target == PIPE_TEXTURE_3D ? depth : 6;
int x = 0;
int y = 0;
- int q, j;
+ uint q, j;
intel_miptree_set_level_info(tex, level, nr_images,
0, tex->total_height,
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) {