diff options
author | Brian Paul <[email protected]> | 2013-03-20 10:56:47 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2013-03-21 09:24:35 -0600 |
commit | b2d3f364dbc6fe1d506224534dc48f58d9dcbaba (patch) | |
tree | b2cbd84d8b3d19fd6795c189da287d67252d550f /src/gallium/drivers/softpipe | |
parent | 2e3200d4636d61c936bdacf6752b82dd39c96dcb (diff) |
softpipe: silence some MSVC signed/unsigned warnings
Diffstat (limited to 'src/gallium/drivers/softpipe')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_context.h | 2 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_so.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_context.h b/src/gallium/drivers/softpipe/sp_context.h index ed38bacc416..d78352ab630 100644 --- a/src/gallium/drivers/softpipe/sp_context.h +++ b/src/gallium/drivers/softpipe/sp_context.h @@ -87,7 +87,7 @@ struct softpipe_context { struct pipe_index_buffer index_buffer; struct draw_so_target *so_targets[PIPE_MAX_SO_BUFFERS]; - int num_so_targets; + unsigned num_so_targets; struct pipe_query_data_so_statistics so_stats; unsigned num_primitives_generated; diff --git a/src/gallium/drivers/softpipe/sp_state_so.c b/src/gallium/drivers/softpipe/sp_state_so.c index 2b5893906c8..3682c6c6742 100644 --- a/src/gallium/drivers/softpipe/sp_state_so.c +++ b/src/gallium/drivers/softpipe/sp_state_so.c @@ -66,7 +66,7 @@ softpipe_set_so_targets(struct pipe_context *pipe, unsigned append_bitmask) { struct softpipe_context *softpipe = softpipe_context(pipe); - int i; + unsigned i; for (i = 0; i < num_targets; i++) { pipe_so_target_reference((struct pipe_stream_output_target **)&softpipe->so_targets[i], targets[i]); |