summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-03-24 11:16:38 -0700
committerEric Anholt <[email protected]>2014-03-24 11:16:38 -0700
commit0d99aef6c8a940e52afcbffa7091ff9c854ba120 (patch)
tree41a42bde292001c6579b67f2f292136198202d35 /src/mesa/drivers/dri
parent4545ec1691be3ff8a46c07eb4106106046a09fc1 (diff)
i965: Fix compiler warning about signed/unsigned.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-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 1b32d634a84..713e47761d0 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];
}
}