summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2014-05-01 15:41:43 +0100
committerJosé Fonseca <[email protected]>2014-05-02 22:04:46 +0100
commitd69fd5d940b7c0c4052fe542d5f2dcf6d2605e02 (patch)
tree2b60b36f51f03139d3cc347db4ef71ee6169cf68 /src
parent605ef195aae0a419bc84d7f8d73ca37ad99c5927 (diff)
draw: Prevent signed/unsigned comparisons.
Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_so_emit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index bd49d0adec6..91e67c0840d 100644
--- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
@@ -162,7 +162,7 @@ static void so_emit_prim(struct pt_so_emit *so,
for (i = 0; i < num_vertices; ++i) {
const float (*input)[4];
const float *pre_clip_pos = NULL;
- int ob;
+ unsigned ob;
input = (const float (*)[4])(
(const char *)input_ptr + (indices[i] * input_vertex_stride));