summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw/draw_gs.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-10-16 18:32:57 -0600
committerBrian Paul <[email protected]>2012-10-17 10:13:30 -0600
commitf03191048668ebcda56053f4c908e1ac0d98edd0 (patch)
tree5c259704e79c8451355512e9e6204e296b491e52 /src/gallium/auxiliary/draw/draw_gs.c
parenta115a29153540bc8f8fbb2b99cd078e6b417c741 (diff)
draw: silence MSVC signed/unsigned comparison warnings
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_gs.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_gs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_gs.c b/src/gallium/auxiliary/draw/draw_gs.c
index c5647268595..0152c1a0cbb 100644
--- a/src/gallium/auxiliary/draw/draw_gs.c
+++ b/src/gallium/auxiliary/draw/draw_gs.c
@@ -87,7 +87,7 @@ draw_create_geometry_shader(struct draw_context *draw,
const struct pipe_shader_state *state)
{
struct draw_geometry_shader *gs;
- int i;
+ unsigned i;
gs = CALLOC_STRUCT(draw_geometry_shader);
@@ -162,7 +162,7 @@ void draw_delete_geometry_shader(struct draw_context *draw,
/*#define DEBUG_OUTPUTS 1*/
static INLINE void
draw_geometry_fetch_outputs(struct draw_geometry_shader *shader,
- int num_primitives,
+ unsigned num_primitives,
float (**p_output)[4])
{
struct tgsi_exec_machine *machine = shader->machine;