diff options
author | Brian <[email protected]> | 2008-01-11 16:32:20 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-01-11 16:32:20 -0700 |
commit | 1c22b5955953973c2c7988bef998f336493e11bc (patch) | |
tree | e55c5aa82750b4a51642bb89d88111b969422790 /src/mesa/pipe/i965simple | |
parent | 50eb29ed9492a34db4ba53f1f28a2868b808955a (diff) |
s/int/uint/ to silence warnings
Diffstat (limited to 'src/mesa/pipe/i965simple')
-rw-r--r-- | src/mesa/pipe/i965simple/brw_tex_layout.c | 2 | ||||
-rw-r--r-- | src/mesa/pipe/i965simple/brw_winsys.h | 2 |
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 7d6e2851b17..2b2bf16f1be 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 49a12a1c27e..253599896ca 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) { |