diff options
author | Christoph Bumiller <[email protected]> | 2012-04-02 20:55:03 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2012-04-14 21:54:03 +0200 |
commit | 51327a2df283da9a77c6e537751c6a45baed6951 (patch) | |
tree | ddaa350821d45c5b73cb1d0062b959fa7ebca5df /src/gallium | |
parent | ef7f9f68cfe71b1f812e59abc644a54a0b80dd06 (diff) |
nv50/ir/opt: silence warning (int < Elements() signedness)
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp index f5262006c11..867bcb0408f 100644 --- a/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp +++ b/src/gallium/drivers/nv50/codegen/nv50_ir_peephole.cpp @@ -1513,7 +1513,7 @@ MemoryOpt::replaceStFromSt(Instruction *restrict st, Record *rec) // get non-replaced sources after values covered by st for (; offR < endR; offR += ri->getSrc(s)->reg.size, ++s) vals[k++] = ri->getSrc(s); - assert(k <= Elements(vals)); + assert((unsigned int)k <= Elements(vals)); for (s = 0; s < k; ++s) st->setSrc(s + 1, vals[s]); st->setSrc(0, ri->getSrc(0)); |