summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-03-20 10:54:24 -0600
committerBrian Paul <[email protected]>2013-03-21 09:24:35 -0600
commitf7b07fd25ce76a049f9d9f43c4c2d4c290bf79e6 (patch)
treece3792c788141138c639dd6bb5349e20a6761f40 /src/gallium/drivers/rbug
parentbfc8b8fac59117e6fa98f87054955501538afa6b (diff)
rbug: silence some MSVC signed/unsigned warnings
Diffstat (limited to 'src/gallium/drivers/rbug')
-rw-r--r--src/gallium/drivers/rbug/rbug_context.c2
-rw-r--r--src/gallium/drivers/rbug/rbug_core.c2
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);