summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-03-24 11:16:38 -0700
committerEric Anholt <eric@anholt.net>2014-03-24 11:16:38 -0700
commit0d99aef6c8a940e52afcbffa7091ff9c854ba120 (patch)
tree41a42bde292001c6579b67f2f292136198202d35
parent4545ec1691be3ff8a46c07eb4106106046a09fc1 (diff)
i965: Fix compiler warning about signed/unsigned.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index 1b32d634a8..713e47761d 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1913,7 +1913,7 @@ fs_visitor::assign_constant_locations()
if (remapped == -1)
continue;
- assert(remapped <= i);
+ assert(remapped <= (int)i);
stage_prog_data->param[remapped] = stage_prog_data->param[i];
}
}