Fixes commit b6e9b54d066d29d250c4502e0005b317589dd8b3 .

Signed-off-by: David Heidelberger <[email protected]>
---
 src/mesa/program/register_allocate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mesa/program/register_allocate.c b/src/mesa/program/register_allocate.c
index db2be5d..353026a 100644
--- a/src/mesa/program/register_allocate.c
+++ b/src/mesa/program/register_allocate.c
@@ -505,7 +505,7 @@ ra_select(struct ra_graph *g)

    while (g->stack_count != 0) {
       unsigned int ri;
-      unsigned int r = -1;
+      int r = -1;
       int n = g->stack[g->stack_count - 1];
       struct ra_class *c = g->regs->classes[g->nodes[n].class];

--
2.1.0
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to