From f7b07fd25ce76a049f9d9f43c4c2d4c290bf79e6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 20 Mar 2013 10:54:24 -0600 Subject: [PATCH] rbug: silence some MSVC signed/unsigned warnings --- src/gallium/drivers/rbug/rbug_context.c | 2 +- src/gallium/drivers/rbug/rbug_core.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/rbug/rbug_context.c b/src/gallium/drivers/rbug/rbug_context.c index 36fa8b75f4d..f57db401aea 100644 --- a/src/gallium/drivers/rbug/rbug_context.c +++ b/src/gallium/drivers/rbug/rbug_context.c @@ -60,7 +60,7 @@ rbug_draw_block_locked(struct rbug_context *rb_pipe, int flag) rb_pipe->draw_blocked |= flag; } else if ((rb_pipe->draw_rule.blocker & flag) && (rb_pipe->draw_blocker & RBUG_BLOCK_RULE)) { - int k; + unsigned k; boolean block = FALSE; unsigned sh; diff --git a/src/gallium/drivers/rbug/rbug_core.c b/src/gallium/drivers/rbug/rbug_core.c index 0277b13b24c..b957261b9ee 100644 --- a/src/gallium/drivers/rbug/rbug_core.c +++ b/src/gallium/drivers/rbug/rbug_core.c @@ -321,7 +321,7 @@ rbug_context_info(struct rbug_rbug *tr_rbug, struct rbug_header *header, uint32_ struct rbug_context *rb_context = NULL; rbug_texture_t cbufs[PIPE_MAX_COLOR_BUFS]; rbug_texture_t texs[PIPE_MAX_SAMPLERS]; - int i; + unsigned i; pipe_mutex_lock(rb_screen->list_mutex); rb_context = rbug_get_context_locked(rb_screen, info->context); -- 2.30.2