summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-04-02 20:55:03 +0200
committerChristoph Bumiller <[email protected]>2012-04-14 21:54:03 +0200
commit51327a2df283da9a77c6e537751c6a45baed6951 (patch)
treeddaa350821d45c5b73cb1d0062b959fa7ebca5df /src/gallium
parentef7f9f68cfe71b1f812e59abc644a54a0b80dd06 (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.cpp2
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));