diff options
author | Brian Paul <[email protected]> | 2012-11-04 16:43:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-11-06 07:42:37 -0700 |
commit | ab8c5347f18309c62a850dcbd14e505c99fc58e8 (patch) | |
tree | 3007e3e172f1128634dc923bd6d2c446a1456ff6 /src/glsl/lower_vec_index_to_cond_assign.cpp | |
parent | 78d3cfb5b4fe1dbe052f87458e62cc2be2ecf171 (diff) |
glsl: fix signed/unsigned comparision warnings on MSVC
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/glsl/lower_vec_index_to_cond_assign.cpp')
-rw-r--r-- | src/glsl/lower_vec_index_to_cond_assign.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/lower_vec_index_to_cond_assign.cpp b/src/glsl/lower_vec_index_to_cond_assign.cpp index fce9c3424a1..789f62afed1 100644 --- a/src/glsl/lower_vec_index_to_cond_assign.cpp +++ b/src/glsl/lower_vec_index_to_cond_assign.cpp @@ -71,7 +71,7 @@ ir_vec_index_to_cond_assign_visitor::convert_vec_index_to_cond_assign(ir_rvalue ir_assignment *assign; ir_variable *index, *var; ir_dereference *deref; - int i; + unsigned i; if (!orig_deref) return ir; @@ -164,7 +164,7 @@ ir_vec_index_to_cond_assign_visitor::visit_leave(ir_assignment *ir) ir_variable *index, *var; ir_dereference_variable *deref; ir_assignment *assign; - int i; + unsigned i; ir->rhs = convert_vec_index_to_cond_assign(ir->rhs); if (ir->condition) |