Mesa (master): gallivm: Silent warning.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon May 10 20:23:52 UTC 2010


Module: Mesa
Branch: master
Commit: 533ec3f667d36ba2aea564ff047a8f55be13f6e9
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=533ec3f667d36ba2aea564ff047a8f55be13f6e9

Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon May 10 17:10:02 2010 +0100

gallivm: Silent warning.

---

 src/gallium/auxiliary/gallivm/lp_bld_arit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c b/src/gallium/auxiliary/gallivm/lp_bld_arit.c
index 0f56f2a..b55c863 100644
--- a/src/gallium/auxiliary/gallivm/lp_bld_arit.c
+++ b/src/gallium/auxiliary/gallivm/lp_bld_arit.c
@@ -240,7 +240,7 @@ lp_build_sum_vector(struct lp_build_context *bld,
 {
    const struct lp_type type = bld->type;
    LLVMValueRef index, res;
-   int i;
+   unsigned i;
 
    if (a == bld->zero)
       return bld->zero;




More information about the mesa-commit mailing list