rbug: silence some MSVC signed/unsigned warnings
authorBrian Paul <brianp@vmware.com>
Wed, 20 Mar 2013 16:54:24 +0000 (10:54 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 21 Mar 2013 15:24:35 +0000 (09:24 -0600)
src/gallium/drivers/rbug/rbug_context.c
src/gallium/drivers/rbug/rbug_core.c

index 36fa8b75f4d7a6dbf5ca13d80ad91fc0a1f0c5e8..f57db401aea766ef368b19b9209f88ff79e0572e 100644 (file)
@@ -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;
 
index 0277b13b24ca0c47e78a0deb79581b5452caf3b1..b957261b9ee1c0fff0634a5c688736f5a68e097c 100644 (file)
@@ -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);