From: michal Date: Thu, 16 Aug 2007 11:17:30 +0000 (+0100) Subject: Silence warnings. X-Git-Tag: 062012170305~17580^2~390^2~4294 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=76f9f3ee832a5e47a321afb01ccac38fe6696196;p=profile%2Fivi%2Fmesa.git Silence warnings. --- diff --git a/src/mesa/pipe/softpipe/sp_tex_layout.c b/src/mesa/pipe/softpipe/sp_tex_layout.c old mode 100644 new mode 100755 index 0517c01..15447d6 --- 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,