diff options
author | michal <michal@michal-laptop.(none)> | 2007-08-16 12:17:30 +0100 |
---|---|---|
committer | michal <michal@michal-laptop.(none)> | 2007-08-16 12:17:30 +0100 |
commit | 76f9f3ee832a5e47a321afb01ccac38fe6696196 (patch) | |
tree | d8c3de292b55accff854f8f499ef5c290505a8c3 /src/mesa | |
parent | 4fcfab33477a0b01ef2f5b1fb2658f244b91e03b (diff) |
Silence warnings.
Diffstat (limited to 'src/mesa')
-rwxr-xr-x[-rw-r--r--] | src/mesa/pipe/softpipe/sp_tex_layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/softpipe/sp_tex_layout.c b/src/mesa/pipe/softpipe/sp_tex_layout.c index 0517c01b5d..15447d6600 100644..100755 --- a/src/mesa/pipe/softpipe/sp_tex_layout.c +++ b/src/mesa/pipe/softpipe/sp_tex_layout.c @@ -197,7 +197,7 @@ static const int step_offsets[6][2] = { boolean softpipe_mipmap_tree_layout(struct pipe_context *pipe, struct pipe_mipmap_tree * mt) { - int level; + unsigned level; switch (mt->target) { case PIPE_TEXTURE_CUBE:{ @@ -305,7 +305,7 @@ softpipe_mipmap_tree_layout(struct pipe_context *pipe, struct pipe_mipmap_tree * unsigned nr_images = mt->target == PIPE_TEXTURE_3D ? depth : 6; int x = 0; int y = 0; - int q, j; + unsigned q, j; sp_miptree_set_level_info(mt, level, nr_images, 0, mt->total_height, |