--- src/compiler/glsl/ir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 49db56e..18bf1eb 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/compiler/glsl/ir.cpp @@ -1100,7 +1100,7 @@ ir_constant * ir_constant::get_record_field(int idx) { assert(this->type->is_record()); - assert(idx >= 0 && idx < this->type->length); + assert(idx >= 0 && (unsigned) idx < this->type->length); return const_elements[idx]; } -- 1.9.1 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev