aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/program
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-09-07 14:02:39 -0700
committerEric Anholt <[email protected]>2010-09-07 14:26:53 -0700
commitacd7c21541110d7ae6b9e63647391f65946e5c5d (patch)
tree052fe5062c661146aa2b00c1a1e331d612a2959d /src/mesa/program
parent6c0ba32fd1466e8c1700acab3003dc1fe1deb337 (diff)
ir_to_mesa: Fix warning in last commit.
I swear there was some git option for "don't push things when you've got uncommitted changes", but I can't find it now.
Diffstat (limited to 'src/mesa/program')
-rw-r--r--src/mesa/program/ir_to_mesa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp
index b48b9912a5c..1a260c7e536 100644
--- a/src/mesa/program/ir_to_mesa.cpp
+++ b/src/mesa/program/ir_to_mesa.cpp
@@ -892,7 +892,7 @@ ir_to_mesa_visitor::visit(ir_variable *ir)
if (storage->index == -1) {
storage->index = index;
} else {
- assert(index == (storage->index +
+ assert(index == ((int)storage->index +
a * statevar->num_elements + i));
}
} else {